aboutsummaryrefslogtreecommitdiff
path: root/integration-tests/gradle/projects/it-js-ir-0/src/main
diff options
context:
space:
mode:
authorVadim Mishenev <vad-mishenev@yandex.ru>2021-12-17 14:28:53 +0300
committerGitHub <noreply@github.com>2021-12-17 14:28:53 +0300
commit17cd417c47cb38ea30a777576285349a1821fdce (patch)
treee28f748546e51c6e436428115b492f11e4b502da /integration-tests/gradle/projects/it-js-ir-0/src/main
parent702c102b934208792a380d8a984052801f9230a1 (diff)
downloaddokka-17cd417c47cb38ea30a777576285349a1821fdce.tar.gz
dokka-17cd417c47cb38ea30a777576285349a1821fdce.tar.bz2
dokka-17cd417c47cb38ea30a777576285349a1821fdce.zip
Fix setup js deps (#2258)
* Add checker of KLIB resolving * Fix setup of JS deps in `AnalysisEnvironment` * Update JS integration test
Diffstat (limited to 'integration-tests/gradle/projects/it-js-ir-0/src/main')
-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