UNPKG

@tsed/common

Version:
18 lines 502 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.getJsonType = void 0; const schema_1 = require("@tsed/schema"); /** * Get json type of the give value. * * ::: warning * Will be remove in v7 in favor of getJsonType from @tsed/schema. * ::: * * @deprecated Since 2020-12-01. Use getJsonType from @tsed/schema. */ function getJsonType(value) { return schema_1.getJsonType(value); } exports.getJsonType = getJsonType; //# sourceMappingURL=getJsonType.js.map