[JS IR] Allow restriction of function argument by external type
Add a special annotation @JsExternalTypeArgument for marking function parameters. The marked parameter accepts an argument with an external type only. ^KT-57479 Fixed
This commit is contained in:
committed by
Space Team
parent
4819593bf4
commit
e8be3043cc
@@ -44,6 +44,9 @@ object JsStandardClassIds {
|
||||
@JvmField
|
||||
val JsExternalInheritorsOnly = "JsExternalInheritorsOnly".jsId()
|
||||
|
||||
@JvmField
|
||||
val JsExternalArgument = "JsExternalArgument".jsId()
|
||||
|
||||
@JvmField
|
||||
val JsExportIgnore = JsExport.createNestedClassId(Name.identifier("Ignore"))
|
||||
|
||||
|
||||
Reference in New Issue
Block a user