fuse-box-typechecker
Version:
Fuse-Box type checker plugin for fusebox 4.0.0 ++
27 lines (24 loc) • 782 B
text/typescript
import { TypeHelperClass } from '../src/index';
import { ITypeCheckerOptions } from '../src/interfaces';
const checker: TypeHelperClass = require('../src/index').TypeChecker(<ITypeCheckerOptions>{
basePath: './test',
name: 'checkerSync',
tsConfigOverride: {
compilerOptions: {
rootDir: `./test`,
baseUrl: `./test`,
target: 'es2015',
module: 'commonjs',
lib: ['es2017', 'dom'],
emitDecoratorMetadata: true,
sourceMap: true,
declaration: true,
importHelpers: true,
experimentalDecorators: true
}
},
print_summary: true,
print_runtime: true
});
checker.printSettings();
checker.inspectAndPrint();