:sad-panda: Trying to import some `chrome.runtime...
# javascript
b
sad panda Trying to import some
chrome.runtime
APIs, but because of KT-68904, I have to choose between
@JsQualifier
and
@JsPlainObject
t
Separate file for options?
b
💡 Not sure that will work but I'll try!
t
If interface will be declared in separate file - it will work fine
🙏 1
b
Yes it works Thanks for the idea.
still red in the IDE but that's a minor inconvenience 🙂
t
K2 mode required for IDEA It's in alpha right now and doesn't work fine
👍 1
In wrappers we use rule 1 external declaration = 1 file
👍 1
👍🏾 1
e
Use jso for now, but still mark the declarations with the annotation so you're ready to switch when K2 IDE supports the JS source sets.