UNPKG

@sinclair/typebox

Version:

Json Schema Type Builder with Static Type Resolution for TypeScript

10 lines (8 loc) 249 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.Increment = void 0; /** Increments the given string value + 1 */ function Increment(T) { return (parseInt(T) + 1).toString(); } exports.Increment = Increment;