UNPKG

@nestia/sdk

Version:

Nestia SDK and Swagger generator

21 lines 623 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.TypeEntry = void 0; const tstl_1 = require("tstl"); class TypeEntry { constructor(type, nullable, required) { this.type = type; this.nullable = nullable; this.required = required; } equals(obj) { return (this.type === obj.type && this.nullable === obj.nullable && this.required === obj.required); } hashCode() { return (0, tstl_1.hash)(this.type, this.nullable, this.required); } } exports.TypeEntry = TypeEntry; //# sourceMappingURL=TypeEntry.js.map