@codingame/monaco-editor-wrapper 1.10.2 → 1.11.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/features/htmlContribution.js +3 -2
- package/dist/main.js +73 -11387
- package/package.json +10 -10
- package/stats.html +1 -1
- package/dist/BSV.tmLanguage.js +0 -299
- package/dist/Groovy2.js +0 -28
- package/dist/bsv.js +0 -115
- package/dist/cobol-COBOL Copybook.js +0 -2017
- package/dist/cobol-COBOL.js +0 -2017
- package/dist/coffeescript-coffeescript.js +0 -18
- package/dist/cpp-c.js +0 -18
- package/dist/cpp-cpp.js +0 -18
- package/dist/elixir-elixir.js +0 -184
- package/dist/features/mutualizedExtensionConfigurations.d.ts +0 -1
- package/dist/features/mutualizedExtensionConfigurations.js +0 -4857
- package/dist/fsharp-fsharp.js +0 -18
- package/dist/groovy-groovy.js +0 -229
- package/dist/javascript-javascript.js +0 -196
- package/dist/javascript-javascriptreact.js +0 -196
- package/dist/kotlin-kotlinscript.js +0 -117
- package/dist/languages/extensions/configurationLoader.d.ts +0 -1324
- package/dist/markdown-basics-markdown.js +0 -121
- package/dist/php-php.js +0 -265
- package/dist/powershell-powershell.js +0 -18
- package/dist/sdc.js +0 -69
- package/dist/sdc.tmLanguage.js +0 -712
- package/dist/services/CustomFoldingRulesLanguageConfigurationService.d.ts +0 -4
- package/dist/services/EditorModelResolverService.d.ts +0 -24
- package/dist/swift-swift.js +0 -183
- package/dist/typescript-basics-typescript.js +0 -312
- package/dist/typescript-basics-typescriptreact.js +0 -312
- package/dist/ucf.js +0 -73
- package/dist/ucf.tmLanguage.js +0 -36
- package/dist/vb-vb.js +0 -88
- package/dist/verilog-bsv.js +0 -49
- package/dist/verilog-systemverilog.js +0 -208
- package/dist/verilog-verilog.js +0 -432
- package/dist/verilog.tmLanguage.js +0 -321
- package/dist/verilog2.js +0 -94
- package/dist/vscode-R-r.js +0 -473
- package/dist/vscode-R-rd.js +0 -473
- package/dist/vscode-R-rmd.js +0 -91
- package/dist/xdc.js +0 -69
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
import * as monaco from 'monaco-editor';
|
|
2
|
-
export declare class SimpleResolvedModel implements monaco.extra.IResolvedTextEditorModel {
|
|
3
|
-
private model;
|
|
4
|
-
private readonly;
|
|
5
|
-
private readonly _onWillDispose;
|
|
6
|
-
constructor(model: monaco.editor.ITextModel, readonly: boolean);
|
|
7
|
-
get onWillDispose(): monaco.IEvent<void>;
|
|
8
|
-
resolve(): Promise<void>;
|
|
9
|
-
get textEditorModel(): monaco.editor.ITextModel;
|
|
10
|
-
createSnapshot(): monaco.editor.ITextSnapshot;
|
|
11
|
-
isReadonly(): boolean;
|
|
12
|
-
private disposed;
|
|
13
|
-
dispose(): void;
|
|
14
|
-
isDisposed(): boolean;
|
|
15
|
-
isResolved(): boolean;
|
|
16
|
-
getMode(): string | undefined;
|
|
17
|
-
}
|
|
18
|
-
export default class EditorModelResolverService extends monaco.extra.SimpleEditorModelResolverService {
|
|
19
|
-
private readonly resourceModelCollection;
|
|
20
|
-
private readonly asyncModelCollection;
|
|
21
|
-
constructor(modelService: monaco.extra.IModelService);
|
|
22
|
-
registerTextModelContentProvider(scheme: string, provider: monaco.extra.ITextModelContentProvider): monaco.IDisposable;
|
|
23
|
-
createModelReference(resource: monaco.Uri): Promise<monaco.extra.IReference<monaco.extra.IResolvedTextEditorModel>>;
|
|
24
|
-
}
|
package/dist/swift-swift.js
DELETED
|
@@ -1,183 +0,0 @@
|
|
|
1
|
-
var print = {
|
|
2
|
-
prefix: "print",
|
|
3
|
-
body: "print(\"$1\")\n$0",
|
|
4
|
-
description: "print(\"...\")"
|
|
5
|
-
};
|
|
6
|
-
var guard = {
|
|
7
|
-
prefix: "guard",
|
|
8
|
-
body: [
|
|
9
|
-
"guard ${1:condition} else {",
|
|
10
|
-
"\t$0",
|
|
11
|
-
"}"
|
|
12
|
-
],
|
|
13
|
-
description: "guard statement"
|
|
14
|
-
};
|
|
15
|
-
var func = {
|
|
16
|
-
prefix: "func",
|
|
17
|
-
body: [
|
|
18
|
-
"func ${1:name}(${2:parameters}) -> ${3:Type} {",
|
|
19
|
-
"\t$0",
|
|
20
|
-
"}"
|
|
21
|
-
],
|
|
22
|
-
description: "function declaration"
|
|
23
|
-
};
|
|
24
|
-
var struct = {
|
|
25
|
-
prefix: "struct",
|
|
26
|
-
body: [
|
|
27
|
-
"struct ${1:Name} {",
|
|
28
|
-
"",
|
|
29
|
-
"\t$0",
|
|
30
|
-
"}"
|
|
31
|
-
],
|
|
32
|
-
description: "struct declaration"
|
|
33
|
-
};
|
|
34
|
-
var protocol = {
|
|
35
|
-
prefix: "protocol",
|
|
36
|
-
body: [
|
|
37
|
-
"protocol ${1:Name} {",
|
|
38
|
-
"",
|
|
39
|
-
"\t$0",
|
|
40
|
-
"}"
|
|
41
|
-
],
|
|
42
|
-
description: "protocol declaration"
|
|
43
|
-
};
|
|
44
|
-
var extension = {
|
|
45
|
-
prefix: "extension",
|
|
46
|
-
body: [
|
|
47
|
-
"extension ${1:Type} {",
|
|
48
|
-
"",
|
|
49
|
-
"\t$0",
|
|
50
|
-
"}"
|
|
51
|
-
],
|
|
52
|
-
description: "extension declaration"
|
|
53
|
-
};
|
|
54
|
-
var swiftSwift = {
|
|
55
|
-
print: print,
|
|
56
|
-
"print value": {
|
|
57
|
-
prefix: "printv",
|
|
58
|
-
body: "print(\"\\($1)\")\n$0",
|
|
59
|
-
description: "print(\"\\(...)\")"
|
|
60
|
-
},
|
|
61
|
-
"while": {
|
|
62
|
-
prefix: "while",
|
|
63
|
-
body: [
|
|
64
|
-
"while ${1:condition} {",
|
|
65
|
-
"\t$0",
|
|
66
|
-
"}"
|
|
67
|
-
],
|
|
68
|
-
description: "while statement"
|
|
69
|
-
},
|
|
70
|
-
"repeat-while": {
|
|
71
|
-
prefix: "repeat",
|
|
72
|
-
body: [
|
|
73
|
-
"repeat {",
|
|
74
|
-
"\t$0",
|
|
75
|
-
"} while ${1:condition}"
|
|
76
|
-
],
|
|
77
|
-
description: "repeat-while statement"
|
|
78
|
-
},
|
|
79
|
-
"for": {
|
|
80
|
-
prefix: "for",
|
|
81
|
-
body: [
|
|
82
|
-
"for ${1:item} in ${2:collection} {",
|
|
83
|
-
"\t$0",
|
|
84
|
-
"}"
|
|
85
|
-
],
|
|
86
|
-
description: "for-in statement"
|
|
87
|
-
},
|
|
88
|
-
"if": {
|
|
89
|
-
prefix: "if",
|
|
90
|
-
body: [
|
|
91
|
-
"if ${1:condition} {",
|
|
92
|
-
"\t$0",
|
|
93
|
-
"}"
|
|
94
|
-
],
|
|
95
|
-
description: "if statement"
|
|
96
|
-
},
|
|
97
|
-
"else if": {
|
|
98
|
-
prefix: "elif",
|
|
99
|
-
body: [
|
|
100
|
-
"else if ${1:condition} {",
|
|
101
|
-
"\t$0",
|
|
102
|
-
"}"
|
|
103
|
-
],
|
|
104
|
-
description: "else clause with a nested if statement"
|
|
105
|
-
},
|
|
106
|
-
"else": {
|
|
107
|
-
prefix: "else",
|
|
108
|
-
body: [
|
|
109
|
-
"else {",
|
|
110
|
-
"\t$0",
|
|
111
|
-
"}"
|
|
112
|
-
],
|
|
113
|
-
description: "else clause"
|
|
114
|
-
},
|
|
115
|
-
"if let": {
|
|
116
|
-
prefix: "iflet",
|
|
117
|
-
body: [
|
|
118
|
-
"if let ${1:value} = ${2:optional} {",
|
|
119
|
-
"\t$0",
|
|
120
|
-
"}"
|
|
121
|
-
],
|
|
122
|
-
description: "if statement with optional binding"
|
|
123
|
-
},
|
|
124
|
-
guard: guard,
|
|
125
|
-
"guard let": {
|
|
126
|
-
prefix: "guardlet",
|
|
127
|
-
body: [
|
|
128
|
-
"guard let ${1:value} = ${2:optional} else {",
|
|
129
|
-
"\t$0",
|
|
130
|
-
"}"
|
|
131
|
-
],
|
|
132
|
-
description: "guard statement with optional binding"
|
|
133
|
-
},
|
|
134
|
-
"switch": {
|
|
135
|
-
prefix: "switch",
|
|
136
|
-
body: [
|
|
137
|
-
"switch ${1:value} {",
|
|
138
|
-
"case ${2:pattern}:",
|
|
139
|
-
"\t$0",
|
|
140
|
-
"default:",
|
|
141
|
-
"\t",
|
|
142
|
-
"}"
|
|
143
|
-
],
|
|
144
|
-
description: "switch statement"
|
|
145
|
-
},
|
|
146
|
-
"do": {
|
|
147
|
-
prefix: "do",
|
|
148
|
-
body: [
|
|
149
|
-
"do {",
|
|
150
|
-
"\t$0",
|
|
151
|
-
"} catch ${1:error} {",
|
|
152
|
-
"\t$2",
|
|
153
|
-
"}"
|
|
154
|
-
],
|
|
155
|
-
description: "do statement"
|
|
156
|
-
},
|
|
157
|
-
func: func,
|
|
158
|
-
struct: struct,
|
|
159
|
-
"enum": {
|
|
160
|
-
prefix: "enum",
|
|
161
|
-
body: [
|
|
162
|
-
"enum ${1:Name} {",
|
|
163
|
-
"",
|
|
164
|
-
"\tcase $0",
|
|
165
|
-
"}"
|
|
166
|
-
],
|
|
167
|
-
description: "enum declaration"
|
|
168
|
-
},
|
|
169
|
-
"class": {
|
|
170
|
-
prefix: "class",
|
|
171
|
-
body: [
|
|
172
|
-
"class ${1:Name} {",
|
|
173
|
-
"",
|
|
174
|
-
"\t$0",
|
|
175
|
-
"}"
|
|
176
|
-
],
|
|
177
|
-
description: "class declaration"
|
|
178
|
-
},
|
|
179
|
-
protocol: protocol,
|
|
180
|
-
extension: extension
|
|
181
|
-
};
|
|
182
|
-
|
|
183
|
-
export { swiftSwift as default, extension, func, guard, print, protocol, struct };
|
|
@@ -1,312 +0,0 @@
|
|
|
1
|
-
var Constructor = {
|
|
2
|
-
prefix: "ctor",
|
|
3
|
-
body: [
|
|
4
|
-
"/**",
|
|
5
|
-
" *",
|
|
6
|
-
" */",
|
|
7
|
-
"constructor() {",
|
|
8
|
-
"\tsuper();",
|
|
9
|
-
"\t$0",
|
|
10
|
-
"}"
|
|
11
|
-
],
|
|
12
|
-
description: "Constructor"
|
|
13
|
-
};
|
|
14
|
-
var typescriptBasicsTypescript = {
|
|
15
|
-
Constructor: Constructor,
|
|
16
|
-
"Class Definition": {
|
|
17
|
-
prefix: "class",
|
|
18
|
-
body: [
|
|
19
|
-
"class ${1:name} {",
|
|
20
|
-
"\tconstructor(${2:parameters}) {",
|
|
21
|
-
"\t\t$0",
|
|
22
|
-
"\t}",
|
|
23
|
-
"}"
|
|
24
|
-
],
|
|
25
|
-
description: "Class Definition"
|
|
26
|
-
},
|
|
27
|
-
"Public Method Definition": {
|
|
28
|
-
prefix: "public method",
|
|
29
|
-
body: [
|
|
30
|
-
"/**",
|
|
31
|
-
" * ${1:name}",
|
|
32
|
-
" */",
|
|
33
|
-
"public ${1:name}() {",
|
|
34
|
-
"\t$0",
|
|
35
|
-
"}"
|
|
36
|
-
],
|
|
37
|
-
description: "Public Method Definition"
|
|
38
|
-
},
|
|
39
|
-
"Private Method Definition": {
|
|
40
|
-
prefix: "private method",
|
|
41
|
-
body: [
|
|
42
|
-
"private ${1:name}() {",
|
|
43
|
-
"\t$0",
|
|
44
|
-
"}"
|
|
45
|
-
],
|
|
46
|
-
description: "Private Method Definition"
|
|
47
|
-
},
|
|
48
|
-
"Import external module.": {
|
|
49
|
-
prefix: "import statement",
|
|
50
|
-
body: [
|
|
51
|
-
"import { $0 } from \"${1:module}\";"
|
|
52
|
-
],
|
|
53
|
-
description: "Import external module."
|
|
54
|
-
},
|
|
55
|
-
"Property getter": {
|
|
56
|
-
prefix: "get",
|
|
57
|
-
body: [
|
|
58
|
-
"",
|
|
59
|
-
"public get ${1:value}() : ${2:string} {",
|
|
60
|
-
"\t${3:return $0}",
|
|
61
|
-
"}",
|
|
62
|
-
""
|
|
63
|
-
],
|
|
64
|
-
description: "Property getter"
|
|
65
|
-
},
|
|
66
|
-
"Log to the console": {
|
|
67
|
-
prefix: "log",
|
|
68
|
-
body: [
|
|
69
|
-
"console.log($1);",
|
|
70
|
-
"$0"
|
|
71
|
-
],
|
|
72
|
-
description: "Log to the console"
|
|
73
|
-
},
|
|
74
|
-
"Log warning to console": {
|
|
75
|
-
prefix: "warn",
|
|
76
|
-
body: [
|
|
77
|
-
"console.warn($1);",
|
|
78
|
-
"$0"
|
|
79
|
-
],
|
|
80
|
-
description: "Log warning to the console"
|
|
81
|
-
},
|
|
82
|
-
"Log error to console": {
|
|
83
|
-
prefix: "error",
|
|
84
|
-
body: [
|
|
85
|
-
"console.error($1);",
|
|
86
|
-
"$0"
|
|
87
|
-
],
|
|
88
|
-
description: "Log error to the console"
|
|
89
|
-
},
|
|
90
|
-
"Define a full property": {
|
|
91
|
-
prefix: "prop",
|
|
92
|
-
body: [
|
|
93
|
-
"",
|
|
94
|
-
"private _${1:value} : ${2:string};",
|
|
95
|
-
"public get ${1:value}() : ${2:string} {",
|
|
96
|
-
"\treturn this._${1:value};",
|
|
97
|
-
"}",
|
|
98
|
-
"public set ${1:value}(v : ${2:string}) {",
|
|
99
|
-
"\tthis._${1:value} = v;",
|
|
100
|
-
"}",
|
|
101
|
-
""
|
|
102
|
-
],
|
|
103
|
-
description: "Define a full property"
|
|
104
|
-
},
|
|
105
|
-
"Triple-slash reference": {
|
|
106
|
-
prefix: "ref",
|
|
107
|
-
body: [
|
|
108
|
-
"/// <reference path=\"$1\" />",
|
|
109
|
-
"$0"
|
|
110
|
-
],
|
|
111
|
-
description: "Triple-slash reference"
|
|
112
|
-
},
|
|
113
|
-
"Property setter": {
|
|
114
|
-
prefix: "set",
|
|
115
|
-
body: [
|
|
116
|
-
"",
|
|
117
|
-
"public set ${1:value}(v : ${2:string}) {",
|
|
118
|
-
"\tthis.$3 = v;",
|
|
119
|
-
"}",
|
|
120
|
-
""
|
|
121
|
-
],
|
|
122
|
-
description: "Property setter"
|
|
123
|
-
},
|
|
124
|
-
"Throw Exception": {
|
|
125
|
-
prefix: "throw",
|
|
126
|
-
body: [
|
|
127
|
-
"throw new Error(\"$1\");",
|
|
128
|
-
"$0"
|
|
129
|
-
],
|
|
130
|
-
description: "Throw Exception"
|
|
131
|
-
},
|
|
132
|
-
"For Loop": {
|
|
133
|
-
prefix: "for",
|
|
134
|
-
body: [
|
|
135
|
-
"for (let ${1:index} = 0; ${1:index} < ${2:array}.length; ${1:index}++) {",
|
|
136
|
-
"\tconst ${3:element} = ${2:array}[${1:index}];",
|
|
137
|
-
"\t$TM_SELECTED_TEXT$0",
|
|
138
|
-
"}"
|
|
139
|
-
],
|
|
140
|
-
description: "For Loop"
|
|
141
|
-
},
|
|
142
|
-
"For-Each Loop using =>": {
|
|
143
|
-
prefix: "foreach =>",
|
|
144
|
-
body: [
|
|
145
|
-
"${1:array}.forEach(${2:element} => {",
|
|
146
|
-
"\t$TM_SELECTED_TEXT$0",
|
|
147
|
-
"});"
|
|
148
|
-
],
|
|
149
|
-
description: "For-Each Loop using =>"
|
|
150
|
-
},
|
|
151
|
-
"For-In Loop": {
|
|
152
|
-
prefix: "forin",
|
|
153
|
-
body: [
|
|
154
|
-
"for (const ${1:key} in ${2:object}) {",
|
|
155
|
-
"\tif (Object.prototype.hasOwnProperty.call(${2:object}, ${1:key})) {",
|
|
156
|
-
"\t\tconst ${3:element} = ${2:object}[${1:key}];",
|
|
157
|
-
"\t\t$TM_SELECTED_TEXT$0",
|
|
158
|
-
"\t}",
|
|
159
|
-
"}"
|
|
160
|
-
],
|
|
161
|
-
description: "For-In Loop"
|
|
162
|
-
},
|
|
163
|
-
"For-Of Loop": {
|
|
164
|
-
prefix: "forof",
|
|
165
|
-
body: [
|
|
166
|
-
"for (const ${1:iterator} of ${2:object}) {",
|
|
167
|
-
"\t$TM_SELECTED_TEXT$0",
|
|
168
|
-
"}"
|
|
169
|
-
],
|
|
170
|
-
description: "For-Of Loop"
|
|
171
|
-
},
|
|
172
|
-
"For-Await-Of Loop": {
|
|
173
|
-
prefix: "forawaitof",
|
|
174
|
-
body: [
|
|
175
|
-
"for await (const ${1:iterator} of ${2:object}) {",
|
|
176
|
-
"\t$TM_SELECTED_TEXT$0",
|
|
177
|
-
"}"
|
|
178
|
-
],
|
|
179
|
-
description: "For-Await-Of Loop"
|
|
180
|
-
},
|
|
181
|
-
"Function Statement": {
|
|
182
|
-
prefix: "function",
|
|
183
|
-
body: [
|
|
184
|
-
"function ${1:name}(${2:params}:${3:type}) {",
|
|
185
|
-
"\t$TM_SELECTED_TEXT$0",
|
|
186
|
-
"}"
|
|
187
|
-
],
|
|
188
|
-
description: "Function Statement"
|
|
189
|
-
},
|
|
190
|
-
"If Statement": {
|
|
191
|
-
prefix: "if",
|
|
192
|
-
body: [
|
|
193
|
-
"if (${1:condition}) {",
|
|
194
|
-
"\t$TM_SELECTED_TEXT$0",
|
|
195
|
-
"}"
|
|
196
|
-
],
|
|
197
|
-
description: "If Statement"
|
|
198
|
-
},
|
|
199
|
-
"If-Else Statement": {
|
|
200
|
-
prefix: "ifelse",
|
|
201
|
-
body: [
|
|
202
|
-
"if (${1:condition}) {",
|
|
203
|
-
"\t$TM_SELECTED_TEXT$0",
|
|
204
|
-
"} else {",
|
|
205
|
-
"\t",
|
|
206
|
-
"}"
|
|
207
|
-
],
|
|
208
|
-
description: "If-Else Statement"
|
|
209
|
-
},
|
|
210
|
-
"New Statement": {
|
|
211
|
-
prefix: "new",
|
|
212
|
-
body: [
|
|
213
|
-
"const ${1:name} = new ${2:type}(${3:arguments});$0"
|
|
214
|
-
],
|
|
215
|
-
description: "New Statement"
|
|
216
|
-
},
|
|
217
|
-
"Switch Statement": {
|
|
218
|
-
prefix: "switch",
|
|
219
|
-
body: [
|
|
220
|
-
"switch (${1:key}) {",
|
|
221
|
-
"\tcase ${2:value}:",
|
|
222
|
-
"\t\t$0",
|
|
223
|
-
"\t\tbreak;",
|
|
224
|
-
"",
|
|
225
|
-
"\tdefault:",
|
|
226
|
-
"\t\tbreak;",
|
|
227
|
-
"}"
|
|
228
|
-
],
|
|
229
|
-
description: "Switch Statement"
|
|
230
|
-
},
|
|
231
|
-
"While Statement": {
|
|
232
|
-
prefix: "while",
|
|
233
|
-
body: [
|
|
234
|
-
"while (${1:condition}) {",
|
|
235
|
-
"\t$TM_SELECTED_TEXT$0",
|
|
236
|
-
"}"
|
|
237
|
-
],
|
|
238
|
-
description: "While Statement"
|
|
239
|
-
},
|
|
240
|
-
"Do-While Statement": {
|
|
241
|
-
prefix: "dowhile",
|
|
242
|
-
body: [
|
|
243
|
-
"do {",
|
|
244
|
-
"\t$TM_SELECTED_TEXT$0",
|
|
245
|
-
"} while (${1:condition});"
|
|
246
|
-
],
|
|
247
|
-
description: "Do-While Statement"
|
|
248
|
-
},
|
|
249
|
-
"Try-Catch Statement": {
|
|
250
|
-
prefix: "trycatch",
|
|
251
|
-
body: [
|
|
252
|
-
"try {",
|
|
253
|
-
"\t$TM_SELECTED_TEXT$0",
|
|
254
|
-
"} catch (${1:error}) {",
|
|
255
|
-
"\t",
|
|
256
|
-
"}"
|
|
257
|
-
],
|
|
258
|
-
description: "Try-Catch Statement"
|
|
259
|
-
},
|
|
260
|
-
"Set Timeout Function": {
|
|
261
|
-
prefix: "settimeout",
|
|
262
|
-
body: [
|
|
263
|
-
"setTimeout(() => {",
|
|
264
|
-
"\t$TM_SELECTED_TEXT$0",
|
|
265
|
-
"}, ${1:timeout});"
|
|
266
|
-
],
|
|
267
|
-
description: "Set Timeout Function"
|
|
268
|
-
},
|
|
269
|
-
"Region Start": {
|
|
270
|
-
prefix: "#region",
|
|
271
|
-
body: [
|
|
272
|
-
"//#region $0"
|
|
273
|
-
],
|
|
274
|
-
description: "Folding Region Start"
|
|
275
|
-
},
|
|
276
|
-
"Region End": {
|
|
277
|
-
prefix: "#endregion",
|
|
278
|
-
body: [
|
|
279
|
-
"//#endregion"
|
|
280
|
-
],
|
|
281
|
-
description: "Folding Region End"
|
|
282
|
-
},
|
|
283
|
-
"new Promise": {
|
|
284
|
-
prefix: "newpromise",
|
|
285
|
-
body: [
|
|
286
|
-
"new Promise<${1:void}>((resolve, reject) => {",
|
|
287
|
-
"\t$TM_SELECTED_TEXT$0",
|
|
288
|
-
"})"
|
|
289
|
-
],
|
|
290
|
-
description: "Create a new Promise"
|
|
291
|
-
},
|
|
292
|
-
"Async Function Statement": {
|
|
293
|
-
prefix: "async function",
|
|
294
|
-
body: [
|
|
295
|
-
"async function ${1:name}(${2:params}:${3:type}) {",
|
|
296
|
-
"\t$TM_SELECTED_TEXT$0",
|
|
297
|
-
"}"
|
|
298
|
-
],
|
|
299
|
-
description: "Async Function Statement"
|
|
300
|
-
},
|
|
301
|
-
"Async Function Expression": {
|
|
302
|
-
prefix: "async arrow function",
|
|
303
|
-
body: [
|
|
304
|
-
"async (${1:params}:${2:type}) => {",
|
|
305
|
-
"\t$TM_SELECTED_TEXT$0",
|
|
306
|
-
"}"
|
|
307
|
-
],
|
|
308
|
-
description: "Async Function Expression"
|
|
309
|
-
}
|
|
310
|
-
};
|
|
311
|
-
|
|
312
|
-
export { Constructor, typescriptBasicsTypescript as default };
|