aboutsummaryrefslogtreecommitdiff
path: root/integration-tests/gradle/projects/it-js-ir-0/src/main/kotlin/RootPackageClass.kt
diff options
context:
space:
mode:
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.kt8
1 files changed, 7 insertions, 1 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
index 222ecb7e..b93e180e 100644
--- 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
@@ -12,4 +12,10 @@ class RootPackageClass {
val description = "I do live in the root package!"
}
-fun RComponent<*, *>.params() = URLSearchParams() \ No newline at end of file
+fun RComponent<*, *>.params() = URLSearchParams()
+
+fun test(list: MutableList<Int>) = "list"
+
+@JsModule("is-sorted")
+@JsNonModule
+external fun <T> sorted(a: Array<T>): Boolean \ No newline at end of file