/// /// require("./editor") declare namespace pxt.editor { function deployCoreAsync(resp: pxtc.CompileResult, disconnect?: boolean): Promise; } export function deployCoreAsync(resp: pxtc.CompileResult) { return pxt.editor.deployCoreAsync(resp, process.env["PXT_SERIAL"] ? false : true) }