From 92e3d56042d34cb64d672aa7099fe72831ed849f Mon Sep 17 00:00:00 2001 From: Vadim Mishenev Date: Thu, 1 Sep 2022 17:21:56 +0300 Subject: Add `DynamicTypeDeserializer` (#2645) --- .../gradle/projects/it-js-ir-0/src/main/kotlin/RootPackageClass.kt | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'integration-tests/gradle') 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 81c66d54..cbe6240e 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 @@ -1,6 +1,8 @@ @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 @@ -18,4 +20,7 @@ fun test(list: MutableList) = "list" @JsModule("is-sorted") @JsNonModule -external fun sorted(a: Array): Boolean \ No newline at end of file +external fun sorted(a: Array): Boolean + +// this declaration can be used to check deserialization of dynamic type +external interface TextLinkProps: AnchorHTMLAttributes \ No newline at end of file -- cgit