[tests][FIR][checkers][JS] Add test data for KT-66474

This commit is contained in:
Stanislav Ruban
2024-03-11 03:52:10 +02:00
committed by Space Team
parent 41e8b45def
commit bf77cc3d0c
7 changed files with 56 additions and 0 deletions
@@ -0,0 +1,13 @@
// MODULE: commonjs
// TARGET_PLATFORM: JS
// FILE: commonjs.kt
expect interface ExternalInterface
external class <!EXTERNAL_TYPE_EXTENDS_NON_EXTERNAL_TYPE!>ExternalClass<!>: ExternalInterface
// MODULE: js()()(commonjs)
// TARGET_PLATFORM: JS
// FILE: js.kt
actual external interface ExternalInterface
@@ -0,0 +1,13 @@
// MODULE: commonjs
// TARGET_PLATFORM: JS
// FILE: commonjs.kt
expect interface <!NO_ACTUAL_FOR_EXPECT!>ExternalInterface<!>
external class <!EXTERNAL_TYPE_EXTENDS_NON_EXTERNAL_TYPE!>ExternalClass<!>: ExternalInterface
// MODULE: js()()(commonjs)
// TARGET_PLATFORM: JS
// FILE: js.kt
actual external interface ExternalInterface