[K/JS] feat: add logic under the flag for strict implicit export generating inside d.ts files.

This commit is contained in:
Artem Kobzar
2022-08-09 16:48:59 +00:00
committed by Space
parent 8fcbe9902c
commit 87038e7d8a
23 changed files with 641 additions and 25 deletions
@@ -373,6 +373,22 @@ public class IrJsTypeScriptExportTestGenerated extends AbstractIrJsTypeScriptExp
}
}
@Nested
@TestMetadata("js/js.translator/testData/typescript-export/strictImplicitExport")
@TestDataPath("$PROJECT_ROOT")
public class StrictImplicitExport {
@Test
public void testAllFilesPresentInStrictImplicitExport() throws Exception {
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("js/js.translator/testData/typescript-export/strictImplicitExport"), Pattern.compile("^([^_](.+))\\.kt$"), null, TargetBackend.JS_IR, true);
}
@Test
@TestMetadata("declarations.kt")
public void testDeclarations() throws Exception {
runTest("js/js.translator/testData/typescript-export/strictImplicitExport/declarations.kt");
}
}
@Nested
@TestMetadata("js/js.translator/testData/typescript-export/visibility")
@TestDataPath("$PROJECT_ROOT")