JsFileName

expect annotation class JsFileName(val name: String)(source)

Specifies the name of the compiled file produced from the annotated source file instead of the default one.

This annotation can be applied only to files and only when the compilation granularity is PER_FILE.

Since Kotlin

1.9
@Target(allowedTargets = [AnnotationTarget.FILE])
actual annotation class JsFileName(val name: String)(source)

Specifies the name of the compiled file produced from the annotated source file instead of the default one.

This annotation can be applied only to files and only when the compilation granularity is PER_FILE.

Since Kotlin

1.9

Properties

Link copied to clipboard
expect val name: String
Since Kotlin 1.9
actual val name: String
Since Kotlin 1.9