kotlin.js.JsNonModule

JsNonModule

@Target([AnnotationTarget.CLASS, AnnotationTarget.PROPERTY, AnnotationTarget.FUNCTION, AnnotationTarget.FILE]) annotation class JsNonModule

Platform and version requirements: JS

Denotes an external declaration that can be used without module system.

By default, an external declaration is available regardless your target module system. However, by applying JsModule annotation you can make a declaration unavailable to plain module system. Some JavaScript libraries are distri