08cb0b23e8
* fix(38750): create unique names for keywords and re-export them with original names * Serialize (noncontextual) keyword named namespace members with export declarations in both declaration emitters * Add exhaustive keyword emit test for js declaration emitter and fix it up Co-authored-by: Alexander T <alexander.tarasyuk@outlook.com>
16 lines
279 B
TypeScript
16 lines
279 B
TypeScript
// @allowJs: true
|
|
// @checkJs: true
|
|
// @target: es5
|
|
// @outDir: ./out
|
|
// @declaration: true
|
|
// @filename: source.js
|
|
function foo() {}
|
|
foo.null = true;
|
|
|
|
function bar() {}
|
|
bar.async = true;
|
|
bar.normal = false;
|
|
|
|
function baz() {}
|
|
baz.class = true;
|
|
baz.normal = false; |