Skip to content

Commit 6cf79e8

Browse files
JSMonkSpace Team
authored andcommitted
[Stdlib] Generate Stdlib API reference for webMain source set + minor renaming
^KT-79489 Fixed Co-authored-by: Filipp Zhinkin <[email protected]> Merge-request: KT-MR-22746 Merged-by: Artem Kobzar <[email protected]>
1 parent 48d0f6d commit 6cf79e8

File tree

17 files changed

+44
-29
lines changed

17 files changed

+44
-29
lines changed

libraries/stdlib/build.gradle.kts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -414,7 +414,7 @@ kotlin {
414414
val webMain by creating {
415415
dependsOn(commonMain.get())
416416
kotlin {
417-
srcDir("jsAndWasmJsCommon/src")
417+
srcDir("common-js-wasmjs/src")
418418
}
419419
}
420420

File renamed without changes.
Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
/*
2+
* Copyright 2010-2025 JetBrains s.r.o. and Kotlin Programming Language contributors.
3+
* Use of this source code is governed by the Apache 2.0 license that can be found in the license/LICENSE.txt file.
4+
*/
5+
6+
package kotlin.js
7+
8+
/**
9+
* Marks API related to interoperability with JS as experimental.
10+
*
11+
* Note that the behavior of such API may be changed in the future.
12+
*
13+
* Usages of such API will be reported as warnings unless an explicit opt-in with
14+
* the [OptIn] annotation, e.g. `@OptIn(ExperimentalWasmJsInterop::class)`,
15+
* or with the `-opt-in=kotlin.js.ExperimentalWasmJsInterop` compiler option is given.
16+
*/
17+
@RequiresOptIn(level = RequiresOptIn.Level.WARNING)
18+
@MustBeDocumented
19+
@Retention(AnnotationRetention.BINARY)
20+
@SinceKotlin("2.2")
21+
@Target(
22+
AnnotationTarget.CLASS,
23+
AnnotationTarget.FUNCTION,
24+
AnnotationTarget.PROPERTY,
25+
AnnotationTarget.TYPEALIAS
26+
)
27+
public annotation class ExperimentalWasmJsInterop
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)