@tsed/json-mapper
Version:
Json mapper module for Ts.ED Framework
18 lines • 382 B
JavaScript
/**
* @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