# compiler

Ola Adolfsson

03/12/2024, 1:39 PM
Hi 🙂 Is there a compiler flag to hide warnings for non-exportable parameter? We’re drowning in them atm :😅 We have annotated most files with “@file:JsExport”. In order to get rid of the warning we need to eplicite add @jsExport to each member. We prefer not to add @Supress to all files (or add j@sExport) 🙂
Copy code
import kotlin.js.JsExport
import kotlin.js.JsName

interface ActionCandidate {
     @jsName "blargh"
     fun blargh()