Rearrange kotlin-stdlib-js library sources
Move kotlin.* api inside kotlin directory. Update copyright paths.
This commit is contained in:
committed by
Stanislav Erokhin
parent
57e47d1830
commit
00b23a0fe9
@@ -0,0 +1,17 @@
|
||||
package kotlin.js
|
||||
|
||||
/**
|
||||
* Exposes the [console API](https://developer.mozilla.org/en/DOM/console) to Kotlin.
|
||||
*/
|
||||
external public interface Console {
|
||||
public fun dir(o: Any): Unit
|
||||
public fun error(vararg o: Any?): Unit
|
||||
public fun info(vararg o: Any?): Unit
|
||||
public fun log(vararg o: Any?): Unit
|
||||
public fun warn(vararg o: Any?): Unit
|
||||
}
|
||||
|
||||
/**
|
||||
* Exposes the [console API](https://developer.mozilla.org/en/DOM/console) to Kotlin.
|
||||
*/
|
||||
public external val console: Console
|
||||
Reference in New Issue
Block a user