transpile

external fun transpile(input: String, compilerOptions: CompilerOptions = definedExternally, fileName: String = definedExternally, diagnostics: ERROR CLASS: Symbol not found for js.array.ReadonlyArray<typescript/Diagnostic> = definedExternally, moduleName: String = definedExternally): String(source)