UNPKG

variable-type

Version:

Runtime type checking for variable and similar objects.

20 lines 499 B
"use strict"; /** * Created by hustcc on 17/08/01. */ var __importDefault = (this && this.__importDefault) || function (mod) { return (mod && mod.__esModule) ? mod : { "default": mod }; }; Object.defineProperty(exports, "__esModule", { value: true }); var Type_1 = __importDefault(require("../Type")); /** * apply 自定义 * @param func * @returns {Type} */ function default_1(func) { return new Type_1.default(func); } exports.default = default_1; ; //# sourceMappingURL=apply.js.map