Allow to use dynamic types for JS projects in IDEA.

This commit is contained in:
Zalim Bashorov
2014-12-03 14:42:26 +03:00
parent f08c9d9815
commit 65ef7525ce
11 changed files with 64 additions and 21 deletions
+12
View File
@@ -0,0 +1,12 @@
fun test(d: dynamic): dynamic {
val d1: dynamic = ""
var d2: dynamic = null
d2.foo(1)
d2[2]
d2.get(3)
d2.get(4)
d2 = d + d1 + 2
return d2
}