Advance kotlin.browser and kotlin.dom packages deprecation level to ERROR #KT-39330

This commit is contained in:
Abduqodiri Qurbonzoda
2021-09-20 12:28:07 +00:00
committed by Space
parent 93833f7db2
commit 9a5a3bfdfb
18 changed files with 48 additions and 48 deletions
@@ -3,7 +3,7 @@
* Use of this source code is governed by the Apache 2.0 license that can be found in the license/LICENSE.txt file.
*/
import kotlin.browser.document
import kotlinx.browser.document
fun main() {
document.write("Hello, world!")
@@ -1,7 +1,7 @@
package example.library
import org.w3c.dom.Text
import kotlin.browser.*
import kotlinx.browser.*
public class Counter(val el: Text) {
fun step(n: Int) {
@@ -1,6 +1,6 @@
package example
import kotlin.browser.document
import kotlinx.browser.document
import example.library.Counter
@@ -1,6 +1,6 @@
package ${package}
import kotlin.browser.window
import kotlinx.browser.window
/**
* Example main function. Started at script body.