Add missing SinceKotlin for new JS annotations, KT-6168
This commit is contained in:
committed by
Space Team
parent
fa77e3952d
commit
93b0a90172
@@ -212,6 +212,7 @@ public final annotation class ExperimentalJsExport : kotlin.Annotation {
|
||||
@kotlin.RequiresOptIn(level = Level.WARNING)
|
||||
@kotlin.annotation.MustBeDocumented
|
||||
@kotlin.annotation.Retention(value = AnnotationRetention.BINARY)
|
||||
@kotlin.SinceKotlin(version = "1.9")
|
||||
public final annotation class ExperimentalJsFileName : kotlin.Annotation {
|
||||
public constructor ExperimentalJsFileName()
|
||||
}
|
||||
@@ -283,6 +284,7 @@ public final annotation class JsExternalInheritorsOnly : kotlin.Annotation {
|
||||
|
||||
@kotlin.annotation.Retention(value = AnnotationRetention.SOURCE)
|
||||
@kotlin.annotation.Target(allowedTargets = {AnnotationTarget.FILE})
|
||||
@kotlin.SinceKotlin(version = "1.9")
|
||||
public final annotation class JsFileName : kotlin.Annotation {
|
||||
public constructor JsFileName(name: kotlin.String)
|
||||
|
||||
|
||||
@@ -27,6 +27,7 @@ public expect annotation class JsName(val name: String)
|
||||
@RequiresOptIn(level = RequiresOptIn.Level.WARNING)
|
||||
@MustBeDocumented
|
||||
@Retention(AnnotationRetention.BINARY)
|
||||
@SinceKotlin("1.9")
|
||||
public annotation class ExperimentalJsFileName
|
||||
|
||||
/**
|
||||
@@ -38,6 +39,7 @@ public annotation class ExperimentalJsFileName
|
||||
@OptionalExpectation
|
||||
@ExperimentalJsFileName
|
||||
@Retention(AnnotationRetention.SOURCE)
|
||||
@SinceKotlin("1.9")
|
||||
public expect annotation class JsFileName(val name: String)
|
||||
|
||||
/**
|
||||
|
||||
@@ -68,6 +68,7 @@ public actual annotation class JsName(actual val name: String)
|
||||
*/
|
||||
@Retention(AnnotationRetention.SOURCE)
|
||||
@Target(FILE)
|
||||
@SinceKotlin("1.9")
|
||||
public actual annotation class JsFileName(actual val name: String)
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user