diff options
Diffstat (limited to 'integration-tests/gradle/projects')
-rw-r--r-- | integration-tests/gradle/projects/it-js-ir-0/build.gradle.kts | 1 | ||||
-rw-r--r-- | integration-tests/gradle/projects/it-js-ir-0/src/main/kotlin/RootPackageClass.kt | 8 |
2 files changed, 8 insertions, 1 deletions
diff --git a/integration-tests/gradle/projects/it-js-ir-0/build.gradle.kts b/integration-tests/gradle/projects/it-js-ir-0/build.gradle.kts index 39c58305..6f949766 100644 --- a/integration-tests/gradle/projects/it-js-ir-0/build.gradle.kts +++ b/integration-tests/gradle/projects/it-js-ir-0/build.gradle.kts @@ -14,5 +14,6 @@ kotlin { dependencies { implementation(kotlin("stdlib")) + implementation(npm("is-sorted", "1.0.5")) implementation("org.jetbrains.kotlin-wrappers:kotlin-react-router-dom:${properties["dokka_it_react_kotlin_version"]}") }
\ No newline at end of file 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 |