ms/packages/compile/src/index.ts
MiaoWoo 73690a2668 feat: upgrade version
Signed-off-by: MiaoWoo <admin@yumc.pw>
2020-01-08 09:48:37 +08:00

5 lines
167 B
TypeScript

import * as ts from 'typescript'
let scan = ts.createScanner(ts.ScriptTarget.ES5, true, ts.LanguageVariant.Standard)
scan.setText('let a = 1')
scan.tryScan(() => { })