UNPKG

st-bundle

Version:

CLI for watching and bundling SpringType projects.

25 lines (22 loc) 730 B
import { TypeHelperClass } from '../src/index'; import { ITypeCheckerOptions } from '../src/interfaces'; const checker: TypeHelperClass = require('../src/index').TypeChecker(<ITypeCheckerOptions>{ basePath: './test', name: 'checkerSync', throwOnSemantic:true, tsConfigOverride: { compilerOptions: { rootDir: `./test`, baseUrl:`./test`, target: 'es2015', module: 'commonjs', lib: ['es2017', 'dom'], emitDecoratorMetadata: true, sourceMap: true, declaration: true, importHelpers: true, experimentalDecorators: true } } }); checker.inspectAndPrint();