UNPKG

@tsed/json-mapper

Version:
18 lines 382 B
/** * @ignore */ // tslint:disable-next-line:variable-name const JsonMapperTypesContainer = new Map(); /** * @ignore */ export function registerJsonTypeMapper(type, token) { JsonMapperTypesContainer.set(type, new token()); } /** * @ignore */ export function getJsonMapperTypes() { return JsonMapperTypesContainer; } //# sourceMappingURL=JsonMapperTypesContainer.js.map