5
packages/compile/src/index.ts
Normal file
5
packages/compile/src/index.ts
Normal file
@ -0,0 +1,5 @@
|
||||
import * as ts from 'typescript'
|
||||
|
||||
let scan = ts.createScanner(ts.ScriptTarget.ES5, true, ts.LanguageVariant.Standard)
|
||||
scan.setText('let a = 1')
|
||||
scan.tryScan(() => { })
|
Reference in New Issue
Block a user