We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 26668bb commit 41ac351Copy full SHA for 41ac351
lib/main.ts
@@ -8,6 +8,7 @@ import {ImportSummary, TranspilerBase} from './base';
8
import DeclarationTranspiler from './declaration';
9
import {FacadeConverter} from './facade_converter';
10
import {convertAST} from './json/conversions';
11
+import {ConvertedSyntaxKind} from './json/converted_syntax_kinds';
12
import * as merge from './merge';
13
import mkdirP from './mkdirp';
14
import ModuleTranspiler from './module';
@@ -197,6 +198,10 @@ export class Transpiler {
197
198
}
199
});
200
this.checkForErrors(program);
201
+
202
+ if (this.options.toJSON) {
203
+ paths.set('converted_syntax_kinds.ts', JSON.stringify(ConvertedSyntaxKind, undefined, 2));
204
+ }
205
return paths;
206
207
0 commit comments