[JS IR BE] Add JsExport annotations

This commit is contained in:
Svyatoslav Kuzmich
2019-06-27 15:12:14 +03:00
parent 685597d20a
commit 69962cbf8c
22 changed files with 91 additions and 31 deletions
+11 -1
View File
@@ -159,4 +159,14 @@ public annotation class JsNonModule
*/
@Retention(AnnotationRetention.BINARY)
@Target(AnnotationTarget.FILE)
public annotation class JsQualifier(val value: String)
public annotation class JsQualifier(val value: String)
/**
* Exports top-level declaration.
*
* Used in future IR-based backend.
* Has no effect in current JS backend.
*/
@Retention(AnnotationRetention.BINARY)
@Target(CLASS, PROPERTY, FUNCTION, FILE)
public annotation class JsExport