json-schema-typescript-generator
Version:
Generate typescript types from json schemas
7 lines • 329 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.isBasicType = void 0;
const BASIC_TYPES = new Set(['string', 'number', 'integer', 'object', 'array', 'boolean', 'null']);
const isBasicType = (type) => BASIC_TYPES.has(type);
exports.isBasicType = isBasicType;
//# sourceMappingURL=Schema.js.map