diff options
Diffstat (limited to 'integration-tests/gradle/projects/it-js-ir-0/src/main/kotlin/RootPackageClass.kt')
-rw-r--r-- | integration-tests/gradle/projects/it-js-ir-0/src/main/kotlin/RootPackageClass.kt | 26 |
1 files changed, 0 insertions, 26 deletions
diff --git a/integration-tests/gradle/projects/it-js-ir-0/src/main/kotlin/RootPackageClass.kt b/integration-tests/gradle/projects/it-js-ir-0/src/main/kotlin/RootPackageClass.kt deleted file mode 100644 index cbe6240e..00000000 --- a/integration-tests/gradle/projects/it-js-ir-0/src/main/kotlin/RootPackageClass.kt +++ /dev/null @@ -1,26 +0,0 @@ -@file:Suppress("unused") - -import org.w3c.dom.url.URLSearchParams -import org.w3c.dom.HTMLAnchorElement -import react.dom.html.AnchorHTMLAttributes -import react.Props -import react.State - -/** - * A class that lives inside the root package - */ -class RootPackageClass { - val description = "I do live in the root package!" -} - -// sample method that uses classes from dom and react, should compile -fun URLSearchParams.react(props: Props, state: State) {} - -fun test(list: MutableList<Int>) = "list" - -@JsModule("is-sorted") -@JsNonModule -external fun <T> sorted(a: Array<T>): Boolean - -// this declaration can be used to check deserialization of dynamic type -external interface TextLinkProps: AnchorHTMLAttributes<HTMLAnchorElement>
\ No newline at end of file |