@pro-script/as-is
Version:
Check your types at runtime with ESNext syntax by meta programing in node.js and browser with interfaces, types, strict object and more.
7 lines (6 loc) • 466 B
JavaScript
import BaseInterface from './classes/BaseInterface.js';
import MicroTest from './classes/MicroTest.js';
import { Checker, primitiveTypes, structuralTypes, otherTypes, aliasTypes, Utility, JSON5Wrapper } from './classes/Checker.js';
try { !!window } catch (e){ structuralTypes.push('Buffer'); structuralTypes.push('SharedArrayBuffer') }
export { Checker, BaseInterface, MicroTest, primitiveTypes, structuralTypes, otherTypes, aliasTypes, Utility,
JSON5Wrapper };