@@ -129,16 +129,20 @@ Related snippets share a same namespace, like every `for` loop prefix start with
129
129
| ` prt ` | Promise type (TypeScript) | ` Promise<$0> ` |
130
130
131
131
### ES2015 Modules
132
- | Prefix | Desc | Body |
133
- | ------: | ------------------------- | ----------------------------------------- |
134
- | ` exp ` | export (ES2015) | ` export $0 ` |
135
- | ` expd ` | export default (ES2015) | ` export default $0 ` |
136
- | ` expas ` | export as (ES2015) | ` export { $1 as $2 };$0 ` |
137
- | ` expf ` | export from (ES2015) | ` export ${2:name} from '$1';$0 ` |
138
- | ` expaf ` | export all from (ES2015) | ` export *$2 from '$1';$0 ` |
139
- | ` imp ` | import module (ES2015) | ` import ${2:name} from '$1';$0 ` |
140
- | ` imf ` | import file (ES2015) | ` import '$1';$0 ` |
141
- | ` impas ` | import module as (ES2015) | ` import ${2:*} as ${3:name} from '$1';$0 ` |
132
+ | Prefix | Desc | Body |
133
+ | ------: | ---------------------------------- | ----------------------------------------- |
134
+ | ` exp ` | export (ES2015) | ` export $0 ` |
135
+ | ` expd ` | export default (ES2015) | ` export default $0 ` |
136
+ | ` expas ` | export as (ES2015) | ` export { $1 as $2 };$0 ` |
137
+ | ` expf ` | export from (ES2015) | ` export ${2:name} from '$1';$0 ` |
138
+ | ` expaf ` | export all from (ES2015) | ` export *$2 from '$1';$0 ` |
139
+ | ` im ` | import (ES2015) | ` import$0 ` |
140
+ | ` imm ` | import.meta (ES2015) | ` import.meta$0 ` |
141
+ | ` imu ` | import.meta.url (ES2015) | ` import.meta.url$0 ` |
142
+ | ` imp ` | import module (ES2015) | ` import ${2:name} from '$1';$0 ` |
143
+ | ` imd ` | import module dynamically (ES2020) | ` import($1)$0 ` |
144
+ | ` imf ` | import file (ES2015) | ` import '$1';$0 ` |
145
+ | ` impas ` | import module as (ES2015) | ` import ${2:*} as ${3:name} from '$1';$0 ` |
142
146
143
147
### Node.js
144
148
| Prefix | Desc | Body |
0 commit comments