JS: replace all usages of @native annotation with external modifier, in tests, stdlib, etc
This commit is contained in:
+4
-2
@@ -2,6 +2,8 @@
|
||||
// This should not crash
|
||||
package foo
|
||||
|
||||
@JsModule @native fun foo(x: Int): Int
|
||||
@JsModule
|
||||
external fun foo(x: Int): Int
|
||||
|
||||
@JsModule(23) @native fun bar(x: Int): Int
|
||||
@JsModule(23)
|
||||
external fun bar(x: Int): Int
|
||||
Reference in New Issue
Block a user