Last active
November 25, 2017 12:52
-
-
Save cypressious/f2422b323dde20dde94b4f24db25e3b9 to your computer and use it in GitHub Desktop.
Kotlin Firefox Extension external declarations https://medium.com/@Cypressious/your-second-firefox-extension-in-kotlin-bafd91d87c41
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
external val browser: Browser | |
external class Browser { | |
val tabs: Tabs | |
} | |
external class Tabs { | |
fun executeScript(def: Script): Promise<List<Any>> | |
} | |
class Script(val file: String) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment