Skip to content

Commit 0be2e2d

Browse files
committed
upd
1 parent 1d15023 commit 0be2e2d

1 file changed

Lines changed: 9 additions & 0 deletions

File tree

src/coding-conventions.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,13 @@ Importing an entire set of ZoneDS components from a library often requires an ab
66

77
```es
88
import * as mx from "com.sweaxizone.metro.components";
9+
```
10+
11+
## Module aliases
12+
13+
When possible, module aliases consist of a clear name, whether capital or not. If not possible due to potential ambiguity, then you can try appending a `Mod` or `NS` suffix, as in:
14+
15+
```es
16+
import barMod from "com.example.foo.bar";
17+
import quxNS from "com.example.foo.qux";
918
```

0 commit comments

Comments
 (0)