nestia 3.0.7 → 3.0.8-dev.20220708
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/NestiaApplication.js +102 -288
- package/lib/NestiaApplication.js.map +1 -1
- package/lib/analyses/ControllerAnalyzer.js +43 -126
- package/lib/analyses/ControllerAnalyzer.js.map +1 -1
- package/lib/analyses/GenericAnalyzer.js +21 -57
- package/lib/analyses/GenericAnalyzer.js.map +1 -1
- package/lib/analyses/ImportAnalyzer.js +16 -20
- package/lib/analyses/ImportAnalyzer.js.map +1 -1
- package/lib/analyses/ReflectAnalyzer.js +59 -184
- package/lib/analyses/ReflectAnalyzer.js.map +1 -1
- package/lib/analyses/SourceFinder.js +30 -197
- package/lib/analyses/SourceFinder.js.map +1 -1
- package/lib/executable/internal/CompilerOptions.js +18 -82
- package/lib/executable/internal/CompilerOptions.js.map +1 -1
- package/lib/executable/internal/NestiaCommand.js +58 -179
- package/lib/executable/internal/NestiaCommand.js.map +1 -1
- package/lib/executable/internal/NestiaConfig.js +450 -487
- package/lib/executable/internal/NestiaConfig.js.map +1 -1
- package/lib/executable/internal/nestia.config.getter.js +6 -42
- package/lib/executable/internal/nestia.config.getter.js.map +1 -1
- package/lib/executable/nestia.js +18 -84
- package/lib/executable/nestia.js.map +1 -1
- package/lib/generates/FileGenerator.js +80 -255
- package/lib/generates/FileGenerator.js.map +1 -1
- package/lib/generates/FunctionGenerator.js +65 -118
- package/lib/generates/FunctionGenerator.js.map +1 -1
- package/lib/generates/SdkGenerator.js +22 -103
- package/lib/generates/SdkGenerator.js.map +1 -1
- package/lib/generates/SwaggerGenerator.js +122 -261
- package/lib/generates/SwaggerGenerator.js.map +1 -1
- package/lib/index.js +1 -1
- package/lib/index.js.map +1 -1
- package/lib/structures/TypeEntry.js +8 -9
- package/lib/structures/TypeEntry.js.map +1 -1
- package/lib/utils/ArrayUtil.js +13 -118
- package/lib/utils/ArrayUtil.js.map +1 -1
- package/lib/utils/DirectoryUtil.js +27 -132
- package/lib/utils/DirectoryUtil.js.map +1 -1
- package/lib/utils/ImportDictionary.js +24 -47
- package/lib/utils/ImportDictionary.js.map +1 -1
- package/lib/utils/MapUtil.js +2 -2
- package/lib/utils/MapUtil.js.map +1 -1
- package/lib/utils/StringUtil.js +2 -2
- package/lib/utils/StringUtil.js.map +1 -1
- package/package.json +1 -1
|
@@ -31,504 +31,467 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
31
31
|
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
32
32
|
});
|
|
33
33
|
};
|
|
34
|
-
var __generator = (this && this.__generator) || function (thisArg, body) {
|
|
35
|
-
var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;
|
|
36
|
-
return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;
|
|
37
|
-
function verb(n) { return function (v) { return step([n, v]); }; }
|
|
38
|
-
function step(op) {
|
|
39
|
-
if (f) throw new TypeError("Generator is already executing.");
|
|
40
|
-
while (_) try {
|
|
41
|
-
if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;
|
|
42
|
-
if (y = 0, t) op = [op[0] & 2, t.value];
|
|
43
|
-
switch (op[0]) {
|
|
44
|
-
case 0: case 1: t = op; break;
|
|
45
|
-
case 4: _.label++; return { value: op[1], done: false };
|
|
46
|
-
case 5: _.label++; y = op[1]; op = [0]; continue;
|
|
47
|
-
case 7: op = _.ops.pop(); _.trys.pop(); continue;
|
|
48
|
-
default:
|
|
49
|
-
if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }
|
|
50
|
-
if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }
|
|
51
|
-
if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }
|
|
52
|
-
if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }
|
|
53
|
-
if (t[2]) _.ops.pop();
|
|
54
|
-
_.trys.pop(); continue;
|
|
55
|
-
}
|
|
56
|
-
op = body.call(thisArg, _);
|
|
57
|
-
} catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }
|
|
58
|
-
if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };
|
|
59
|
-
}
|
|
60
|
-
};
|
|
61
34
|
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
62
35
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
63
36
|
};
|
|
64
37
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
65
38
|
exports.NestiaConfig = void 0;
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
39
|
+
const fs_1 = __importDefault(require("fs"));
|
|
40
|
+
const path_1 = __importDefault(require("path"));
|
|
41
|
+
const runner = __importStar(require("ts-node"));
|
|
42
|
+
const nestia_fetcher_1 = require("nestia-fetcher");
|
|
43
|
+
const Singleton_1 = require("tstl/thread/Singleton");
|
|
44
|
+
const typescript_json_1 = require("typescript-json");
|
|
72
45
|
var NestiaConfig;
|
|
73
46
|
(function (NestiaConfig) {
|
|
74
|
-
var _this = this;
|
|
75
47
|
function get() {
|
|
76
48
|
return singleton.get();
|
|
77
49
|
}
|
|
78
50
|
NestiaConfig.get = get;
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
emit: false,
|
|
88
|
-
compilerOptions: {
|
|
89
|
-
noEmit: true,
|
|
90
|
-
},
|
|
91
|
-
});
|
|
92
|
-
return [4 /*yield*/, Promise.resolve().then(function () { return __importStar(require(path_1.default.resolve("nestia.config.ts"))); })];
|
|
93
|
-
case 1:
|
|
94
|
-
loaded = _a.sent();
|
|
95
|
-
if (typeof loaded !== "object")
|
|
96
|
-
throw new Error("Error on NestiaConfig.get(): failed to load data");
|
|
97
|
-
config = typeof loaded.default === "object" ? loaded.default : loaded;
|
|
98
|
-
return [2 /*return*/, (function (input) { (function (input, path) {
|
|
99
|
-
if (path === void 0) { path = "$input"; }
|
|
100
|
-
var $pred = typescript_json_1.assertType.predicate;
|
|
101
|
-
var $ao = [
|
|
102
|
-
function (input, path, exceptionable) { return null !== input.input && undefined !== input.input && ("string" === typeof input.input || Array.isArray(input.input) && input.input.every(function (elem, index05796402616247409) { return "string" === typeof elem; }) || "object" === typeof input.input && null !== input.input && $ao[1](input.input, path + ".input", false && exceptionable)) && $pred(undefined === input.output || "string" === typeof input.output, exceptionable, function () { return ({
|
|
103
|
-
path: path + ".output",
|
|
104
|
-
expected: "(string | undefined)",
|
|
105
|
-
value: input.output
|
|
106
|
-
}); }) && $pred(null !== input.compilerOptions && (undefined === input.compilerOptions || "object" === typeof input.compilerOptions && null !== input.compilerOptions && !Array.isArray(input.compilerOptions) && $ao[2](input.compilerOptions, path + ".compilerOptions", true && exceptionable)), exceptionable, function () { return ({
|
|
107
|
-
path: path + ".compilerOptions",
|
|
108
|
-
expected: "(Resolve<ts.CompilerOptions> | undefined)",
|
|
109
|
-
value: input.compilerOptions
|
|
110
|
-
}); }) && $pred(undefined === input.assert || "boolean" === typeof input.assert, exceptionable, function () { return ({
|
|
111
|
-
path: path + ".assert",
|
|
112
|
-
expected: "(boolean | undefined)",
|
|
113
|
-
value: input.assert
|
|
114
|
-
}); }) && $pred(undefined === input.json || "boolean" === typeof input.json, exceptionable, function () { return ({
|
|
115
|
-
path: path + ".json",
|
|
116
|
-
expected: "(boolean | undefined)",
|
|
117
|
-
value: input.json
|
|
118
|
-
}); }) && $pred(null !== input.swagger && (undefined === input.swagger || "object" === typeof input.swagger && null !== input.swagger && !Array.isArray(input.swagger) && $ao[4](input.swagger, path + ".swagger", true && exceptionable)), exceptionable, function () { return ({
|
|
119
|
-
path: path + ".swagger",
|
|
120
|
-
expected: "(Resolve<IConfiguration.ISwagger> | undefined)",
|
|
121
|
-
value: input.swagger
|
|
122
|
-
}); }); },
|
|
123
|
-
function (input, path, exceptionable) { return $pred(Array.isArray(input.include) && input.include.every(function (elem, index19074711236001196) { return $pred("string" === typeof elem, exceptionable, function () { return ({
|
|
124
|
-
path: path + ".include[" + index19074711236001196 + "]",
|
|
125
|
-
expected: "string",
|
|
126
|
-
value: elem
|
|
127
|
-
}); }); }), exceptionable, function () { return ({
|
|
128
|
-
path: path + ".include",
|
|
129
|
-
expected: "Array<string>",
|
|
130
|
-
value: input.include
|
|
131
|
-
}); }) && $pred(undefined === input.exclude || Array.isArray(input.exclude) && input.exclude.every(function (elem, index51954671508323) { return $pred("string" === typeof elem, exceptionable, function () { return ({
|
|
132
|
-
path: path + ".exclude[" + index51954671508323 + "]",
|
|
133
|
-
expected: "string",
|
|
134
|
-
value: elem
|
|
135
|
-
}); }); }), exceptionable, function () { return ({
|
|
136
|
-
path: path + ".exclude",
|
|
137
|
-
expected: "(Array<string> | undefined)",
|
|
138
|
-
value: input.exclude
|
|
139
|
-
}); }); },
|
|
140
|
-
function (input, path, exceptionable) { return $pred(undefined === input.allowJs || "boolean" === typeof input.allowJs, exceptionable, function () { return ({
|
|
141
|
-
path: path + ".allowJs",
|
|
142
|
-
expected: "(boolean | undefined)",
|
|
143
|
-
value: input.allowJs
|
|
144
|
-
}); }) && $pred(undefined === input.allowSyntheticDefaultImports || "boolean" === typeof input.allowSyntheticDefaultImports, exceptionable, function () { return ({
|
|
145
|
-
path: path + ".allowSyntheticDefaultImports",
|
|
146
|
-
expected: "(boolean | undefined)",
|
|
147
|
-
value: input.allowSyntheticDefaultImports
|
|
148
|
-
}); }) && $pred(undefined === input.allowUmdGlobalAccess || "boolean" === typeof input.allowUmdGlobalAccess, exceptionable, function () { return ({
|
|
149
|
-
path: path + ".allowUmdGlobalAccess",
|
|
150
|
-
expected: "(boolean | undefined)",
|
|
151
|
-
value: input.allowUmdGlobalAccess
|
|
152
|
-
}); }) && $pred(undefined === input.allowUnreachableCode || "boolean" === typeof input.allowUnreachableCode, exceptionable, function () { return ({
|
|
153
|
-
path: path + ".allowUnreachableCode",
|
|
154
|
-
expected: "(boolean | undefined)",
|
|
155
|
-
value: input.allowUnreachableCode
|
|
156
|
-
}); }) && $pred(undefined === input.allowUnusedLabels || "boolean" === typeof input.allowUnusedLabels, exceptionable, function () { return ({
|
|
157
|
-
path: path + ".allowUnusedLabels",
|
|
158
|
-
expected: "(boolean | undefined)",
|
|
159
|
-
value: input.allowUnusedLabels
|
|
160
|
-
}); }) && $pred(undefined === input.alwaysStrict || "boolean" === typeof input.alwaysStrict, exceptionable, function () { return ({
|
|
161
|
-
path: path + ".alwaysStrict",
|
|
162
|
-
expected: "(boolean | undefined)",
|
|
163
|
-
value: input.alwaysStrict
|
|
164
|
-
}); }) && $pred(undefined === input.baseUrl || "string" === typeof input.baseUrl, exceptionable, function () { return ({
|
|
165
|
-
path: path + ".baseUrl",
|
|
166
|
-
expected: "(string | undefined)",
|
|
167
|
-
value: input.baseUrl
|
|
168
|
-
}); }) && $pred(undefined === input.charset || "string" === typeof input.charset, exceptionable, function () { return ({
|
|
169
|
-
path: path + ".charset",
|
|
170
|
-
expected: "(string | undefined)",
|
|
171
|
-
value: input.charset
|
|
172
|
-
}); }) && $pred(undefined === input.checkJs || "boolean" === typeof input.checkJs, exceptionable, function () { return ({
|
|
173
|
-
path: path + ".checkJs",
|
|
174
|
-
expected: "(boolean | undefined)",
|
|
175
|
-
value: input.checkJs
|
|
176
|
-
}); }) && $pred(undefined === input.declaration || "boolean" === typeof input.declaration, exceptionable, function () { return ({
|
|
177
|
-
path: path + ".declaration",
|
|
178
|
-
expected: "(boolean | undefined)",
|
|
179
|
-
value: input.declaration
|
|
180
|
-
}); }) && $pred(undefined === input.declarationMap || "boolean" === typeof input.declarationMap, exceptionable, function () { return ({
|
|
181
|
-
path: path + ".declarationMap",
|
|
182
|
-
expected: "(boolean | undefined)",
|
|
183
|
-
value: input.declarationMap
|
|
184
|
-
}); }) && $pred(undefined === input.emitDeclarationOnly || "boolean" === typeof input.emitDeclarationOnly, exceptionable, function () { return ({
|
|
185
|
-
path: path + ".emitDeclarationOnly",
|
|
186
|
-
expected: "(boolean | undefined)",
|
|
187
|
-
value: input.emitDeclarationOnly
|
|
188
|
-
}); }) && $pred(undefined === input.declarationDir || "string" === typeof input.declarationDir, exceptionable, function () { return ({
|
|
189
|
-
path: path + ".declarationDir",
|
|
190
|
-
expected: "(string | undefined)",
|
|
191
|
-
value: input.declarationDir
|
|
192
|
-
}); }) && $pred(undefined === input.disableSizeLimit || "boolean" === typeof input.disableSizeLimit, exceptionable, function () { return ({
|
|
193
|
-
path: path + ".disableSizeLimit",
|
|
194
|
-
expected: "(boolean | undefined)",
|
|
195
|
-
value: input.disableSizeLimit
|
|
196
|
-
}); }) && $pred(undefined === input.disableSourceOfProjectReferenceRedirect || "boolean" === typeof input.disableSourceOfProjectReferenceRedirect, exceptionable, function () { return ({
|
|
197
|
-
path: path + ".disableSourceOfProjectReferenceRedirect",
|
|
198
|
-
expected: "(boolean | undefined)",
|
|
199
|
-
value: input.disableSourceOfProjectReferenceRedirect
|
|
200
|
-
}); }) && $pred(undefined === input.disableSolutionSearching || "boolean" === typeof input.disableSolutionSearching, exceptionable, function () { return ({
|
|
201
|
-
path: path + ".disableSolutionSearching",
|
|
202
|
-
expected: "(boolean | undefined)",
|
|
203
|
-
value: input.disableSolutionSearching
|
|
204
|
-
}); }) && $pred(undefined === input.disableReferencedProjectLoad || "boolean" === typeof input.disableReferencedProjectLoad, exceptionable, function () { return ({
|
|
205
|
-
path: path + ".disableReferencedProjectLoad",
|
|
206
|
-
expected: "(boolean | undefined)",
|
|
207
|
-
value: input.disableReferencedProjectLoad
|
|
208
|
-
}); }) && $pred(undefined === input.downlevelIteration || "boolean" === typeof input.downlevelIteration, exceptionable, function () { return ({
|
|
209
|
-
path: path + ".downlevelIteration",
|
|
210
|
-
expected: "(boolean | undefined)",
|
|
211
|
-
value: input.downlevelIteration
|
|
212
|
-
}); }) && $pred(undefined === input.emitBOM || "boolean" === typeof input.emitBOM, exceptionable, function () { return ({
|
|
213
|
-
path: path + ".emitBOM",
|
|
214
|
-
expected: "(boolean | undefined)",
|
|
215
|
-
value: input.emitBOM
|
|
216
|
-
}); }) && $pred(undefined === input.emitDecoratorMetadata || "boolean" === typeof input.emitDecoratorMetadata, exceptionable, function () { return ({
|
|
217
|
-
path: path + ".emitDecoratorMetadata",
|
|
218
|
-
expected: "(boolean | undefined)",
|
|
219
|
-
value: input.emitDecoratorMetadata
|
|
220
|
-
}); }) && $pred(undefined === input.exactOptionalPropertyTypes || "boolean" === typeof input.exactOptionalPropertyTypes, exceptionable, function () { return ({
|
|
221
|
-
path: path + ".exactOptionalPropertyTypes",
|
|
222
|
-
expected: "(boolean | undefined)",
|
|
223
|
-
value: input.exactOptionalPropertyTypes
|
|
224
|
-
}); }) && $pred(undefined === input.experimentalDecorators || "boolean" === typeof input.experimentalDecorators, exceptionable, function () { return ({
|
|
225
|
-
path: path + ".experimentalDecorators",
|
|
226
|
-
expected: "(boolean | undefined)",
|
|
227
|
-
value: input.experimentalDecorators
|
|
228
|
-
}); }) && $pred(undefined === input.forceConsistentCasingInFileNames || "boolean" === typeof input.forceConsistentCasingInFileNames, exceptionable, function () { return ({
|
|
229
|
-
path: path + ".forceConsistentCasingInFileNames",
|
|
230
|
-
expected: "(boolean | undefined)",
|
|
231
|
-
value: input.forceConsistentCasingInFileNames
|
|
232
|
-
}); }) && $pred(undefined === input.importHelpers || "boolean" === typeof input.importHelpers, exceptionable, function () { return ({
|
|
233
|
-
path: path + ".importHelpers",
|
|
234
|
-
expected: "(boolean | undefined)",
|
|
235
|
-
value: input.importHelpers
|
|
236
|
-
}); }) && (undefined === input.importsNotUsedAsValues || 0 === input.importsNotUsedAsValues || 1 === input.importsNotUsedAsValues || 2 === input.importsNotUsedAsValues) && $pred(undefined === input.inlineSourceMap || "boolean" === typeof input.inlineSourceMap, exceptionable, function () { return ({
|
|
237
|
-
path: path + ".inlineSourceMap",
|
|
238
|
-
expected: "(boolean | undefined)",
|
|
239
|
-
value: input.inlineSourceMap
|
|
240
|
-
}); }) && $pred(undefined === input.inlineSources || "boolean" === typeof input.inlineSources, exceptionable, function () { return ({
|
|
241
|
-
path: path + ".inlineSources",
|
|
242
|
-
expected: "(boolean | undefined)",
|
|
243
|
-
value: input.inlineSources
|
|
244
|
-
}); }) && $pred(undefined === input.isolatedModules || "boolean" === typeof input.isolatedModules, exceptionable, function () { return ({
|
|
245
|
-
path: path + ".isolatedModules",
|
|
246
|
-
expected: "(boolean | undefined)",
|
|
247
|
-
value: input.isolatedModules
|
|
248
|
-
}); }) && (undefined === input.jsx || 0 === input.jsx || 1 === input.jsx || 2 === input.jsx || 3 === input.jsx || 4 === input.jsx || 5 === input.jsx) && $pred(undefined === input.keyofStringsOnly || "boolean" === typeof input.keyofStringsOnly, exceptionable, function () { return ({
|
|
249
|
-
path: path + ".keyofStringsOnly",
|
|
250
|
-
expected: "(boolean | undefined)",
|
|
251
|
-
value: input.keyofStringsOnly
|
|
252
|
-
}); }) && $pred(undefined === input.lib || Array.isArray(input.lib) && input.lib.every(function (elem, index32275127213921406) { return $pred("string" === typeof elem, exceptionable, function () { return ({
|
|
253
|
-
path: path + ".lib[" + index32275127213921406 + "]",
|
|
254
|
-
expected: "string",
|
|
255
|
-
value: elem
|
|
256
|
-
}); }); }), exceptionable, function () { return ({
|
|
257
|
-
path: path + ".lib",
|
|
258
|
-
expected: "(Array<string> | undefined)",
|
|
259
|
-
value: input.lib
|
|
260
|
-
}); }) && $pred(undefined === input.locale || "string" === typeof input.locale, exceptionable, function () { return ({
|
|
261
|
-
path: path + ".locale",
|
|
262
|
-
expected: "(string | undefined)",
|
|
263
|
-
value: input.locale
|
|
264
|
-
}); }) && $pred(undefined === input.mapRoot || "string" === typeof input.mapRoot, exceptionable, function () { return ({
|
|
265
|
-
path: path + ".mapRoot",
|
|
266
|
-
expected: "(string | undefined)",
|
|
267
|
-
value: input.mapRoot
|
|
268
|
-
}); }) && $pred(undefined === input.maxNodeModuleJsDepth || "number" === typeof input.maxNodeModuleJsDepth && Number.isFinite(input.maxNodeModuleJsDepth) && !Number.isNaN(input.maxNodeModuleJsDepth), exceptionable, function () { return ({
|
|
269
|
-
path: path + ".maxNodeModuleJsDepth",
|
|
270
|
-
expected: "(number | undefined)",
|
|
271
|
-
value: input.maxNodeModuleJsDepth
|
|
272
|
-
}); }) && (undefined === input.module || 0 === input.module || 1 === input.module || 2 === input.module || 3 === input.module || 4 === input.module || 5 === input.module || 6 === input.module || 7 === input.module || 99 === input.module || 100 === input.module || 199 === input.module) && (undefined === input.moduleResolution || 1 === input.moduleResolution || 2 === input.moduleResolution || 3 === input.moduleResolution || 99 === input.moduleResolution) && $pred(undefined === input.moduleSuffixes || Array.isArray(input.moduleSuffixes) && input.moduleSuffixes.every(function (elem, index3030503513474394) { return $pred("string" === typeof elem, exceptionable, function () { return ({
|
|
273
|
-
path: path + ".moduleSuffixes[" + index3030503513474394 + "]",
|
|
274
|
-
expected: "string",
|
|
275
|
-
value: elem
|
|
276
|
-
}); }); }), exceptionable, function () { return ({
|
|
277
|
-
path: path + ".moduleSuffixes",
|
|
278
|
-
expected: "(Array<string> | undefined)",
|
|
279
|
-
value: input.moduleSuffixes
|
|
280
|
-
}); }) && (undefined === input.moduleDetection || 1 === input.moduleDetection || 2 === input.moduleDetection || 3 === input.moduleDetection) && (undefined === input.newLine || 0 === input.newLine || 1 === input.newLine) && $pred(undefined === input.noEmit || "boolean" === typeof input.noEmit, exceptionable, function () { return ({
|
|
281
|
-
path: path + ".noEmit",
|
|
282
|
-
expected: "(boolean | undefined)",
|
|
283
|
-
value: input.noEmit
|
|
284
|
-
}); }) && $pred(undefined === input.noEmitHelpers || "boolean" === typeof input.noEmitHelpers, exceptionable, function () { return ({
|
|
285
|
-
path: path + ".noEmitHelpers",
|
|
286
|
-
expected: "(boolean | undefined)",
|
|
287
|
-
value: input.noEmitHelpers
|
|
288
|
-
}); }) && $pred(undefined === input.noEmitOnError || "boolean" === typeof input.noEmitOnError, exceptionable, function () { return ({
|
|
289
|
-
path: path + ".noEmitOnError",
|
|
290
|
-
expected: "(boolean | undefined)",
|
|
291
|
-
value: input.noEmitOnError
|
|
292
|
-
}); }) && $pred(undefined === input.noErrorTruncation || "boolean" === typeof input.noErrorTruncation, exceptionable, function () { return ({
|
|
293
|
-
path: path + ".noErrorTruncation",
|
|
294
|
-
expected: "(boolean | undefined)",
|
|
295
|
-
value: input.noErrorTruncation
|
|
296
|
-
}); }) && $pred(undefined === input.noFallthroughCasesInSwitch || "boolean" === typeof input.noFallthroughCasesInSwitch, exceptionable, function () { return ({
|
|
297
|
-
path: path + ".noFallthroughCasesInSwitch",
|
|
298
|
-
expected: "(boolean | undefined)",
|
|
299
|
-
value: input.noFallthroughCasesInSwitch
|
|
300
|
-
}); }) && $pred(undefined === input.noImplicitAny || "boolean" === typeof input.noImplicitAny, exceptionable, function () { return ({
|
|
301
|
-
path: path + ".noImplicitAny",
|
|
302
|
-
expected: "(boolean | undefined)",
|
|
303
|
-
value: input.noImplicitAny
|
|
304
|
-
}); }) && $pred(undefined === input.noImplicitReturns || "boolean" === typeof input.noImplicitReturns, exceptionable, function () { return ({
|
|
305
|
-
path: path + ".noImplicitReturns",
|
|
306
|
-
expected: "(boolean | undefined)",
|
|
307
|
-
value: input.noImplicitReturns
|
|
308
|
-
}); }) && $pred(undefined === input.noImplicitThis || "boolean" === typeof input.noImplicitThis, exceptionable, function () { return ({
|
|
309
|
-
path: path + ".noImplicitThis",
|
|
310
|
-
expected: "(boolean | undefined)",
|
|
311
|
-
value: input.noImplicitThis
|
|
312
|
-
}); }) && $pred(undefined === input.noStrictGenericChecks || "boolean" === typeof input.noStrictGenericChecks, exceptionable, function () { return ({
|
|
313
|
-
path: path + ".noStrictGenericChecks",
|
|
314
|
-
expected: "(boolean | undefined)",
|
|
315
|
-
value: input.noStrictGenericChecks
|
|
316
|
-
}); }) && $pred(undefined === input.noUnusedLocals || "boolean" === typeof input.noUnusedLocals, exceptionable, function () { return ({
|
|
317
|
-
path: path + ".noUnusedLocals",
|
|
318
|
-
expected: "(boolean | undefined)",
|
|
319
|
-
value: input.noUnusedLocals
|
|
320
|
-
}); }) && $pred(undefined === input.noUnusedParameters || "boolean" === typeof input.noUnusedParameters, exceptionable, function () { return ({
|
|
321
|
-
path: path + ".noUnusedParameters",
|
|
322
|
-
expected: "(boolean | undefined)",
|
|
323
|
-
value: input.noUnusedParameters
|
|
324
|
-
}); }) && $pred(undefined === input.noImplicitUseStrict || "boolean" === typeof input.noImplicitUseStrict, exceptionable, function () { return ({
|
|
325
|
-
path: path + ".noImplicitUseStrict",
|
|
326
|
-
expected: "(boolean | undefined)",
|
|
327
|
-
value: input.noImplicitUseStrict
|
|
328
|
-
}); }) && $pred(undefined === input.noPropertyAccessFromIndexSignature || "boolean" === typeof input.noPropertyAccessFromIndexSignature, exceptionable, function () { return ({
|
|
329
|
-
path: path + ".noPropertyAccessFromIndexSignature",
|
|
330
|
-
expected: "(boolean | undefined)",
|
|
331
|
-
value: input.noPropertyAccessFromIndexSignature
|
|
332
|
-
}); }) && $pred(undefined === input.assumeChangesOnlyAffectDirectDependencies || "boolean" === typeof input.assumeChangesOnlyAffectDirectDependencies, exceptionable, function () { return ({
|
|
333
|
-
path: path + ".assumeChangesOnlyAffectDirectDependencies",
|
|
334
|
-
expected: "(boolean | undefined)",
|
|
335
|
-
value: input.assumeChangesOnlyAffectDirectDependencies
|
|
336
|
-
}); }) && $pred(undefined === input.noLib || "boolean" === typeof input.noLib, exceptionable, function () { return ({
|
|
337
|
-
path: path + ".noLib",
|
|
338
|
-
expected: "(boolean | undefined)",
|
|
339
|
-
value: input.noLib
|
|
340
|
-
}); }) && $pred(undefined === input.noResolve || "boolean" === typeof input.noResolve, exceptionable, function () { return ({
|
|
341
|
-
path: path + ".noResolve",
|
|
342
|
-
expected: "(boolean | undefined)",
|
|
343
|
-
value: input.noResolve
|
|
344
|
-
}); }) && $pred(undefined === input.noUncheckedIndexedAccess || "boolean" === typeof input.noUncheckedIndexedAccess, exceptionable, function () { return ({
|
|
345
|
-
path: path + ".noUncheckedIndexedAccess",
|
|
346
|
-
expected: "(boolean | undefined)",
|
|
347
|
-
value: input.noUncheckedIndexedAccess
|
|
348
|
-
}); }) && $pred(undefined === input.out || "string" === typeof input.out, exceptionable, function () { return ({
|
|
349
|
-
path: path + ".out",
|
|
350
|
-
expected: "(string | undefined)",
|
|
351
|
-
value: input.out
|
|
352
|
-
}); }) && $pred(undefined === input.outDir || "string" === typeof input.outDir, exceptionable, function () { return ({
|
|
353
|
-
path: path + ".outDir",
|
|
354
|
-
expected: "(string | undefined)",
|
|
355
|
-
value: input.outDir
|
|
356
|
-
}); }) && $pred(undefined === input.outFile || "string" === typeof input.outFile, exceptionable, function () { return ({
|
|
357
|
-
path: path + ".outFile",
|
|
358
|
-
expected: "(string | undefined)",
|
|
359
|
-
value: input.outFile
|
|
360
|
-
}); }) && $pred(null !== input.paths && (undefined === input.paths || "object" === typeof input.paths && null !== input.paths && !Array.isArray(input.paths) && $ao[3](input.paths, path + ".paths", true && exceptionable)), exceptionable, function () { return ({
|
|
361
|
-
path: path + ".paths",
|
|
362
|
-
expected: "(Resolve<ts.MapLike<Array<string>>> | undefined)",
|
|
363
|
-
value: input.paths
|
|
364
|
-
}); }) && $pred(undefined === input.preserveConstEnums || "boolean" === typeof input.preserveConstEnums, exceptionable, function () { return ({
|
|
365
|
-
path: path + ".preserveConstEnums",
|
|
366
|
-
expected: "(boolean | undefined)",
|
|
367
|
-
value: input.preserveConstEnums
|
|
368
|
-
}); }) && $pred(undefined === input.noImplicitOverride || "boolean" === typeof input.noImplicitOverride, exceptionable, function () { return ({
|
|
369
|
-
path: path + ".noImplicitOverride",
|
|
370
|
-
expected: "(boolean | undefined)",
|
|
371
|
-
value: input.noImplicitOverride
|
|
372
|
-
}); }) && $pred(undefined === input.preserveSymlinks || "boolean" === typeof input.preserveSymlinks, exceptionable, function () { return ({
|
|
373
|
-
path: path + ".preserveSymlinks",
|
|
374
|
-
expected: "(boolean | undefined)",
|
|
375
|
-
value: input.preserveSymlinks
|
|
376
|
-
}); }) && $pred(undefined === input.preserveValueImports || "boolean" === typeof input.preserveValueImports, exceptionable, function () { return ({
|
|
377
|
-
path: path + ".preserveValueImports",
|
|
378
|
-
expected: "(boolean | undefined)",
|
|
379
|
-
value: input.preserveValueImports
|
|
380
|
-
}); }) && $pred(undefined === input.project || "string" === typeof input.project, exceptionable, function () { return ({
|
|
381
|
-
path: path + ".project",
|
|
382
|
-
expected: "(string | undefined)",
|
|
383
|
-
value: input.project
|
|
384
|
-
}); }) && $pred(undefined === input.reactNamespace || "string" === typeof input.reactNamespace, exceptionable, function () { return ({
|
|
385
|
-
path: path + ".reactNamespace",
|
|
386
|
-
expected: "(string | undefined)",
|
|
387
|
-
value: input.reactNamespace
|
|
388
|
-
}); }) && $pred(undefined === input.jsxFactory || "string" === typeof input.jsxFactory, exceptionable, function () { return ({
|
|
389
|
-
path: path + ".jsxFactory",
|
|
390
|
-
expected: "(string | undefined)",
|
|
391
|
-
value: input.jsxFactory
|
|
392
|
-
}); }) && $pred(undefined === input.jsxFragmentFactory || "string" === typeof input.jsxFragmentFactory, exceptionable, function () { return ({
|
|
393
|
-
path: path + ".jsxFragmentFactory",
|
|
394
|
-
expected: "(string | undefined)",
|
|
395
|
-
value: input.jsxFragmentFactory
|
|
396
|
-
}); }) && $pred(undefined === input.jsxImportSource || "string" === typeof input.jsxImportSource, exceptionable, function () { return ({
|
|
397
|
-
path: path + ".jsxImportSource",
|
|
398
|
-
expected: "(string | undefined)",
|
|
399
|
-
value: input.jsxImportSource
|
|
400
|
-
}); }) && $pred(undefined === input.composite || "boolean" === typeof input.composite, exceptionable, function () { return ({
|
|
401
|
-
path: path + ".composite",
|
|
402
|
-
expected: "(boolean | undefined)",
|
|
403
|
-
value: input.composite
|
|
404
|
-
}); }) && $pred(undefined === input.incremental || "boolean" === typeof input.incremental, exceptionable, function () { return ({
|
|
405
|
-
path: path + ".incremental",
|
|
406
|
-
expected: "(boolean | undefined)",
|
|
407
|
-
value: input.incremental
|
|
408
|
-
}); }) && $pred(undefined === input.tsBuildInfoFile || "string" === typeof input.tsBuildInfoFile, exceptionable, function () { return ({
|
|
409
|
-
path: path + ".tsBuildInfoFile",
|
|
410
|
-
expected: "(string | undefined)",
|
|
411
|
-
value: input.tsBuildInfoFile
|
|
412
|
-
}); }) && $pred(undefined === input.removeComments || "boolean" === typeof input.removeComments, exceptionable, function () { return ({
|
|
413
|
-
path: path + ".removeComments",
|
|
414
|
-
expected: "(boolean | undefined)",
|
|
415
|
-
value: input.removeComments
|
|
416
|
-
}); }) && $pred(undefined === input.rootDir || "string" === typeof input.rootDir, exceptionable, function () { return ({
|
|
417
|
-
path: path + ".rootDir",
|
|
418
|
-
expected: "(string | undefined)",
|
|
419
|
-
value: input.rootDir
|
|
420
|
-
}); }) && $pred(undefined === input.rootDirs || Array.isArray(input.rootDirs) && input.rootDirs.every(function (elem, index635802118938074) { return $pred("string" === typeof elem, exceptionable, function () { return ({
|
|
421
|
-
path: path + ".rootDirs[" + index635802118938074 + "]",
|
|
422
|
-
expected: "string",
|
|
423
|
-
value: elem
|
|
424
|
-
}); }); }), exceptionable, function () { return ({
|
|
425
|
-
path: path + ".rootDirs",
|
|
426
|
-
expected: "(Array<string> | undefined)",
|
|
427
|
-
value: input.rootDirs
|
|
428
|
-
}); }) && $pred(undefined === input.skipLibCheck || "boolean" === typeof input.skipLibCheck, exceptionable, function () { return ({
|
|
429
|
-
path: path + ".skipLibCheck",
|
|
430
|
-
expected: "(boolean | undefined)",
|
|
431
|
-
value: input.skipLibCheck
|
|
432
|
-
}); }) && $pred(undefined === input.skipDefaultLibCheck || "boolean" === typeof input.skipDefaultLibCheck, exceptionable, function () { return ({
|
|
433
|
-
path: path + ".skipDefaultLibCheck",
|
|
434
|
-
expected: "(boolean | undefined)",
|
|
435
|
-
value: input.skipDefaultLibCheck
|
|
436
|
-
}); }) && $pred(undefined === input.sourceMap || "boolean" === typeof input.sourceMap, exceptionable, function () { return ({
|
|
437
|
-
path: path + ".sourceMap",
|
|
438
|
-
expected: "(boolean | undefined)",
|
|
439
|
-
value: input.sourceMap
|
|
440
|
-
}); }) && $pred(undefined === input.sourceRoot || "string" === typeof input.sourceRoot, exceptionable, function () { return ({
|
|
441
|
-
path: path + ".sourceRoot",
|
|
442
|
-
expected: "(string | undefined)",
|
|
443
|
-
value: input.sourceRoot
|
|
444
|
-
}); }) && $pred(undefined === input.strict || "boolean" === typeof input.strict, exceptionable, function () { return ({
|
|
445
|
-
path: path + ".strict",
|
|
446
|
-
expected: "(boolean | undefined)",
|
|
447
|
-
value: input.strict
|
|
448
|
-
}); }) && $pred(undefined === input.strictFunctionTypes || "boolean" === typeof input.strictFunctionTypes, exceptionable, function () { return ({
|
|
449
|
-
path: path + ".strictFunctionTypes",
|
|
450
|
-
expected: "(boolean | undefined)",
|
|
451
|
-
value: input.strictFunctionTypes
|
|
452
|
-
}); }) && $pred(undefined === input.strictBindCallApply || "boolean" === typeof input.strictBindCallApply, exceptionable, function () { return ({
|
|
453
|
-
path: path + ".strictBindCallApply",
|
|
454
|
-
expected: "(boolean | undefined)",
|
|
455
|
-
value: input.strictBindCallApply
|
|
456
|
-
}); }) && $pred(undefined === input.strictNullChecks || "boolean" === typeof input.strictNullChecks, exceptionable, function () { return ({
|
|
457
|
-
path: path + ".strictNullChecks",
|
|
458
|
-
expected: "(boolean | undefined)",
|
|
459
|
-
value: input.strictNullChecks
|
|
460
|
-
}); }) && $pred(undefined === input.strictPropertyInitialization || "boolean" === typeof input.strictPropertyInitialization, exceptionable, function () { return ({
|
|
461
|
-
path: path + ".strictPropertyInitialization",
|
|
462
|
-
expected: "(boolean | undefined)",
|
|
463
|
-
value: input.strictPropertyInitialization
|
|
464
|
-
}); }) && $pred(undefined === input.stripInternal || "boolean" === typeof input.stripInternal, exceptionable, function () { return ({
|
|
465
|
-
path: path + ".stripInternal",
|
|
466
|
-
expected: "(boolean | undefined)",
|
|
467
|
-
value: input.stripInternal
|
|
468
|
-
}); }) && $pred(undefined === input.suppressExcessPropertyErrors || "boolean" === typeof input.suppressExcessPropertyErrors, exceptionable, function () { return ({
|
|
469
|
-
path: path + ".suppressExcessPropertyErrors",
|
|
470
|
-
expected: "(boolean | undefined)",
|
|
471
|
-
value: input.suppressExcessPropertyErrors
|
|
472
|
-
}); }) && $pred(undefined === input.suppressImplicitAnyIndexErrors || "boolean" === typeof input.suppressImplicitAnyIndexErrors, exceptionable, function () { return ({
|
|
473
|
-
path: path + ".suppressImplicitAnyIndexErrors",
|
|
474
|
-
expected: "(boolean | undefined)",
|
|
475
|
-
value: input.suppressImplicitAnyIndexErrors
|
|
476
|
-
}); }) && (undefined === input.target || 0 === input.target || 1 === input.target || 2 === input.target || 3 === input.target || 4 === input.target || 5 === input.target || 6 === input.target || 7 === input.target || 8 === input.target || 9 === input.target || 99 === input.target || 100 === input.target) && $pred(undefined === input.traceResolution || "boolean" === typeof input.traceResolution, exceptionable, function () { return ({
|
|
477
|
-
path: path + ".traceResolution",
|
|
478
|
-
expected: "(boolean | undefined)",
|
|
479
|
-
value: input.traceResolution
|
|
480
|
-
}); }) && $pred(undefined === input.useUnknownInCatchVariables || "boolean" === typeof input.useUnknownInCatchVariables, exceptionable, function () { return ({
|
|
481
|
-
path: path + ".useUnknownInCatchVariables",
|
|
482
|
-
expected: "(boolean | undefined)",
|
|
483
|
-
value: input.useUnknownInCatchVariables
|
|
484
|
-
}); }) && $pred(undefined === input.resolveJsonModule || "boolean" === typeof input.resolveJsonModule, exceptionable, function () { return ({
|
|
485
|
-
path: path + ".resolveJsonModule",
|
|
486
|
-
expected: "(boolean | undefined)",
|
|
487
|
-
value: input.resolveJsonModule
|
|
488
|
-
}); }) && $pred(undefined === input.types || Array.isArray(input.types) && input.types.every(function (elem, index4165064720273559) { return $pred("string" === typeof elem, exceptionable, function () { return ({
|
|
489
|
-
path: path + ".types[" + index4165064720273559 + "]",
|
|
490
|
-
expected: "string",
|
|
491
|
-
value: elem
|
|
492
|
-
}); }); }), exceptionable, function () { return ({
|
|
493
|
-
path: path + ".types",
|
|
494
|
-
expected: "(Array<string> | undefined)",
|
|
495
|
-
value: input.types
|
|
496
|
-
}); }) && $pred(undefined === input.typeRoots || Array.isArray(input.typeRoots) && input.typeRoots.every(function (elem, index36664874374232737) { return $pred("string" === typeof elem, exceptionable, function () { return ({
|
|
497
|
-
path: path + ".typeRoots[" + index36664874374232737 + "]",
|
|
498
|
-
expected: "string",
|
|
499
|
-
value: elem
|
|
500
|
-
}); }); }), exceptionable, function () { return ({
|
|
501
|
-
path: path + ".typeRoots",
|
|
502
|
-
expected: "(Array<string> | undefined)",
|
|
503
|
-
value: input.typeRoots
|
|
504
|
-
}); }) && $pred(undefined === input.esModuleInterop || "boolean" === typeof input.esModuleInterop, exceptionable, function () { return ({
|
|
505
|
-
path: path + ".esModuleInterop",
|
|
506
|
-
expected: "(boolean | undefined)",
|
|
507
|
-
value: input.esModuleInterop
|
|
508
|
-
}); }) && $pred(undefined === input.useDefineForClassFields || "boolean" === typeof input.useDefineForClassFields, exceptionable, function () { return ({
|
|
509
|
-
path: path + ".useDefineForClassFields",
|
|
510
|
-
expected: "(boolean | undefined)",
|
|
511
|
-
value: input.useDefineForClassFields
|
|
512
|
-
}); }); },
|
|
513
|
-
function (input, path, exceptionable) { return true; },
|
|
514
|
-
function (input, path, exceptionable) { return $pred("string" === typeof input.output, exceptionable, function () { return ({
|
|
515
|
-
path: path + ".output",
|
|
516
|
-
expected: "string",
|
|
517
|
-
value: input.output
|
|
518
|
-
}); }); }
|
|
519
|
-
];
|
|
520
|
-
return $pred(null !== input && $pred("object" === typeof input && null !== input && !Array.isArray(input) && $ao[0](input, path + "", true), true, function () { return ({
|
|
521
|
-
path: path + "",
|
|
522
|
-
expected: "Resolve<__type>",
|
|
523
|
-
value: input
|
|
524
|
-
}); }), true, function () { return ({
|
|
525
|
-
path: path + "",
|
|
526
|
-
expected: "Resolve<__type>",
|
|
527
|
-
value: input
|
|
528
|
-
}); });
|
|
529
|
-
})(input); return input; })(nestia_fetcher_1.Primitive.clone(config))];
|
|
530
|
-
}
|
|
51
|
+
const singleton = new Singleton_1.Singleton(() => __awaiter(this, void 0, void 0, function* () {
|
|
52
|
+
if (fs_1.default.existsSync("nestia.config.ts") === false)
|
|
53
|
+
return null;
|
|
54
|
+
runner.register({
|
|
55
|
+
emit: false,
|
|
56
|
+
compilerOptions: {
|
|
57
|
+
noEmit: true,
|
|
58
|
+
},
|
|
531
59
|
});
|
|
532
|
-
|
|
60
|
+
const loaded = yield Promise.resolve().then(() => __importStar(require(path_1.default.resolve("nestia.config.ts"))));
|
|
61
|
+
if (typeof loaded !== "object")
|
|
62
|
+
throw new Error("Error on NestiaConfig.get(): failed to load data");
|
|
63
|
+
const config = typeof loaded.default === "object" ? loaded.default : loaded;
|
|
64
|
+
return (input => { ((input, path = "$input") => {
|
|
65
|
+
const $pred = typescript_json_1.assertType.predicate;
|
|
66
|
+
const $ao = [
|
|
67
|
+
(input, path, exceptionable) => null !== input.input && undefined !== input.input && ("string" === typeof input.input || Array.isArray(input.input) && input.input.every((elem, index72831205422291) => "string" === typeof elem) || "object" === typeof input.input && null !== input.input && $ao[1](input.input, path + ".input", false && exceptionable)) && $pred(undefined === input.output || "string" === typeof input.output, exceptionable, () => ({
|
|
68
|
+
path: path + ".output",
|
|
69
|
+
expected: "(string | undefined)",
|
|
70
|
+
value: input.output
|
|
71
|
+
})) && $pred(null !== input.compilerOptions && (undefined === input.compilerOptions || "object" === typeof input.compilerOptions && null !== input.compilerOptions && !Array.isArray(input.compilerOptions) && $ao[2](input.compilerOptions, path + ".compilerOptions", true && exceptionable)), exceptionable, () => ({
|
|
72
|
+
path: path + ".compilerOptions",
|
|
73
|
+
expected: "(Resolve<ts.CompilerOptions> | undefined)",
|
|
74
|
+
value: input.compilerOptions
|
|
75
|
+
})) && $pred(undefined === input.assert || "boolean" === typeof input.assert, exceptionable, () => ({
|
|
76
|
+
path: path + ".assert",
|
|
77
|
+
expected: "(boolean | undefined)",
|
|
78
|
+
value: input.assert
|
|
79
|
+
})) && $pred(undefined === input.json || "boolean" === typeof input.json, exceptionable, () => ({
|
|
80
|
+
path: path + ".json",
|
|
81
|
+
expected: "(boolean | undefined)",
|
|
82
|
+
value: input.json
|
|
83
|
+
})) && $pred(null !== input.swagger && (undefined === input.swagger || "object" === typeof input.swagger && null !== input.swagger && !Array.isArray(input.swagger) && $ao[4](input.swagger, path + ".swagger", true && exceptionable)), exceptionable, () => ({
|
|
84
|
+
path: path + ".swagger",
|
|
85
|
+
expected: "(Resolve<IConfiguration.ISwagger> | undefined)",
|
|
86
|
+
value: input.swagger
|
|
87
|
+
})),
|
|
88
|
+
(input, path, exceptionable) => $pred(Array.isArray(input.include) && input.include.every((elem, index9290776339282998) => $pred("string" === typeof elem, exceptionable, () => ({
|
|
89
|
+
path: path + ".include[" + index9290776339282998 + "]",
|
|
90
|
+
expected: "string",
|
|
91
|
+
value: elem
|
|
92
|
+
}))), exceptionable, () => ({
|
|
93
|
+
path: path + ".include",
|
|
94
|
+
expected: "Array<string>",
|
|
95
|
+
value: input.include
|
|
96
|
+
})) && $pred(undefined === input.exclude || Array.isArray(input.exclude) && input.exclude.every((elem, index787921144684733) => $pred("string" === typeof elem, exceptionable, () => ({
|
|
97
|
+
path: path + ".exclude[" + index787921144684733 + "]",
|
|
98
|
+
expected: "string",
|
|
99
|
+
value: elem
|
|
100
|
+
}))), exceptionable, () => ({
|
|
101
|
+
path: path + ".exclude",
|
|
102
|
+
expected: "(Array<string> | undefined)",
|
|
103
|
+
value: input.exclude
|
|
104
|
+
})),
|
|
105
|
+
(input, path, exceptionable) => $pred(undefined === input.allowJs || "boolean" === typeof input.allowJs, exceptionable, () => ({
|
|
106
|
+
path: path + ".allowJs",
|
|
107
|
+
expected: "(boolean | undefined)",
|
|
108
|
+
value: input.allowJs
|
|
109
|
+
})) && $pred(undefined === input.allowSyntheticDefaultImports || "boolean" === typeof input.allowSyntheticDefaultImports, exceptionable, () => ({
|
|
110
|
+
path: path + ".allowSyntheticDefaultImports",
|
|
111
|
+
expected: "(boolean | undefined)",
|
|
112
|
+
value: input.allowSyntheticDefaultImports
|
|
113
|
+
})) && $pred(undefined === input.allowUmdGlobalAccess || "boolean" === typeof input.allowUmdGlobalAccess, exceptionable, () => ({
|
|
114
|
+
path: path + ".allowUmdGlobalAccess",
|
|
115
|
+
expected: "(boolean | undefined)",
|
|
116
|
+
value: input.allowUmdGlobalAccess
|
|
117
|
+
})) && $pred(undefined === input.allowUnreachableCode || "boolean" === typeof input.allowUnreachableCode, exceptionable, () => ({
|
|
118
|
+
path: path + ".allowUnreachableCode",
|
|
119
|
+
expected: "(boolean | undefined)",
|
|
120
|
+
value: input.allowUnreachableCode
|
|
121
|
+
})) && $pred(undefined === input.allowUnusedLabels || "boolean" === typeof input.allowUnusedLabels, exceptionable, () => ({
|
|
122
|
+
path: path + ".allowUnusedLabels",
|
|
123
|
+
expected: "(boolean | undefined)",
|
|
124
|
+
value: input.allowUnusedLabels
|
|
125
|
+
})) && $pred(undefined === input.alwaysStrict || "boolean" === typeof input.alwaysStrict, exceptionable, () => ({
|
|
126
|
+
path: path + ".alwaysStrict",
|
|
127
|
+
expected: "(boolean | undefined)",
|
|
128
|
+
value: input.alwaysStrict
|
|
129
|
+
})) && $pred(undefined === input.baseUrl || "string" === typeof input.baseUrl, exceptionable, () => ({
|
|
130
|
+
path: path + ".baseUrl",
|
|
131
|
+
expected: "(string | undefined)",
|
|
132
|
+
value: input.baseUrl
|
|
133
|
+
})) && $pred(undefined === input.charset || "string" === typeof input.charset, exceptionable, () => ({
|
|
134
|
+
path: path + ".charset",
|
|
135
|
+
expected: "(string | undefined)",
|
|
136
|
+
value: input.charset
|
|
137
|
+
})) && $pred(undefined === input.checkJs || "boolean" === typeof input.checkJs, exceptionable, () => ({
|
|
138
|
+
path: path + ".checkJs",
|
|
139
|
+
expected: "(boolean | undefined)",
|
|
140
|
+
value: input.checkJs
|
|
141
|
+
})) && $pred(undefined === input.declaration || "boolean" === typeof input.declaration, exceptionable, () => ({
|
|
142
|
+
path: path + ".declaration",
|
|
143
|
+
expected: "(boolean | undefined)",
|
|
144
|
+
value: input.declaration
|
|
145
|
+
})) && $pred(undefined === input.declarationMap || "boolean" === typeof input.declarationMap, exceptionable, () => ({
|
|
146
|
+
path: path + ".declarationMap",
|
|
147
|
+
expected: "(boolean | undefined)",
|
|
148
|
+
value: input.declarationMap
|
|
149
|
+
})) && $pred(undefined === input.emitDeclarationOnly || "boolean" === typeof input.emitDeclarationOnly, exceptionable, () => ({
|
|
150
|
+
path: path + ".emitDeclarationOnly",
|
|
151
|
+
expected: "(boolean | undefined)",
|
|
152
|
+
value: input.emitDeclarationOnly
|
|
153
|
+
})) && $pred(undefined === input.declarationDir || "string" === typeof input.declarationDir, exceptionable, () => ({
|
|
154
|
+
path: path + ".declarationDir",
|
|
155
|
+
expected: "(string | undefined)",
|
|
156
|
+
value: input.declarationDir
|
|
157
|
+
})) && $pred(undefined === input.disableSizeLimit || "boolean" === typeof input.disableSizeLimit, exceptionable, () => ({
|
|
158
|
+
path: path + ".disableSizeLimit",
|
|
159
|
+
expected: "(boolean | undefined)",
|
|
160
|
+
value: input.disableSizeLimit
|
|
161
|
+
})) && $pred(undefined === input.disableSourceOfProjectReferenceRedirect || "boolean" === typeof input.disableSourceOfProjectReferenceRedirect, exceptionable, () => ({
|
|
162
|
+
path: path + ".disableSourceOfProjectReferenceRedirect",
|
|
163
|
+
expected: "(boolean | undefined)",
|
|
164
|
+
value: input.disableSourceOfProjectReferenceRedirect
|
|
165
|
+
})) && $pred(undefined === input.disableSolutionSearching || "boolean" === typeof input.disableSolutionSearching, exceptionable, () => ({
|
|
166
|
+
path: path + ".disableSolutionSearching",
|
|
167
|
+
expected: "(boolean | undefined)",
|
|
168
|
+
value: input.disableSolutionSearching
|
|
169
|
+
})) && $pred(undefined === input.disableReferencedProjectLoad || "boolean" === typeof input.disableReferencedProjectLoad, exceptionable, () => ({
|
|
170
|
+
path: path + ".disableReferencedProjectLoad",
|
|
171
|
+
expected: "(boolean | undefined)",
|
|
172
|
+
value: input.disableReferencedProjectLoad
|
|
173
|
+
})) && $pred(undefined === input.downlevelIteration || "boolean" === typeof input.downlevelIteration, exceptionable, () => ({
|
|
174
|
+
path: path + ".downlevelIteration",
|
|
175
|
+
expected: "(boolean | undefined)",
|
|
176
|
+
value: input.downlevelIteration
|
|
177
|
+
})) && $pred(undefined === input.emitBOM || "boolean" === typeof input.emitBOM, exceptionable, () => ({
|
|
178
|
+
path: path + ".emitBOM",
|
|
179
|
+
expected: "(boolean | undefined)",
|
|
180
|
+
value: input.emitBOM
|
|
181
|
+
})) && $pred(undefined === input.emitDecoratorMetadata || "boolean" === typeof input.emitDecoratorMetadata, exceptionable, () => ({
|
|
182
|
+
path: path + ".emitDecoratorMetadata",
|
|
183
|
+
expected: "(boolean | undefined)",
|
|
184
|
+
value: input.emitDecoratorMetadata
|
|
185
|
+
})) && $pred(undefined === input.exactOptionalPropertyTypes || "boolean" === typeof input.exactOptionalPropertyTypes, exceptionable, () => ({
|
|
186
|
+
path: path + ".exactOptionalPropertyTypes",
|
|
187
|
+
expected: "(boolean | undefined)",
|
|
188
|
+
value: input.exactOptionalPropertyTypes
|
|
189
|
+
})) && $pred(undefined === input.experimentalDecorators || "boolean" === typeof input.experimentalDecorators, exceptionable, () => ({
|
|
190
|
+
path: path + ".experimentalDecorators",
|
|
191
|
+
expected: "(boolean | undefined)",
|
|
192
|
+
value: input.experimentalDecorators
|
|
193
|
+
})) && $pred(undefined === input.forceConsistentCasingInFileNames || "boolean" === typeof input.forceConsistentCasingInFileNames, exceptionable, () => ({
|
|
194
|
+
path: path + ".forceConsistentCasingInFileNames",
|
|
195
|
+
expected: "(boolean | undefined)",
|
|
196
|
+
value: input.forceConsistentCasingInFileNames
|
|
197
|
+
})) && $pred(undefined === input.importHelpers || "boolean" === typeof input.importHelpers, exceptionable, () => ({
|
|
198
|
+
path: path + ".importHelpers",
|
|
199
|
+
expected: "(boolean | undefined)",
|
|
200
|
+
value: input.importHelpers
|
|
201
|
+
})) && (undefined === input.importsNotUsedAsValues || 0 === input.importsNotUsedAsValues || 1 === input.importsNotUsedAsValues || 2 === input.importsNotUsedAsValues) && $pred(undefined === input.inlineSourceMap || "boolean" === typeof input.inlineSourceMap, exceptionable, () => ({
|
|
202
|
+
path: path + ".inlineSourceMap",
|
|
203
|
+
expected: "(boolean | undefined)",
|
|
204
|
+
value: input.inlineSourceMap
|
|
205
|
+
})) && $pred(undefined === input.inlineSources || "boolean" === typeof input.inlineSources, exceptionable, () => ({
|
|
206
|
+
path: path + ".inlineSources",
|
|
207
|
+
expected: "(boolean | undefined)",
|
|
208
|
+
value: input.inlineSources
|
|
209
|
+
})) && $pred(undefined === input.isolatedModules || "boolean" === typeof input.isolatedModules, exceptionable, () => ({
|
|
210
|
+
path: path + ".isolatedModules",
|
|
211
|
+
expected: "(boolean | undefined)",
|
|
212
|
+
value: input.isolatedModules
|
|
213
|
+
})) && (undefined === input.jsx || 0 === input.jsx || 1 === input.jsx || 2 === input.jsx || 3 === input.jsx || 4 === input.jsx || 5 === input.jsx) && $pred(undefined === input.keyofStringsOnly || "boolean" === typeof input.keyofStringsOnly, exceptionable, () => ({
|
|
214
|
+
path: path + ".keyofStringsOnly",
|
|
215
|
+
expected: "(boolean | undefined)",
|
|
216
|
+
value: input.keyofStringsOnly
|
|
217
|
+
})) && $pred(undefined === input.lib || Array.isArray(input.lib) && input.lib.every((elem, index9082729578544395) => $pred("string" === typeof elem, exceptionable, () => ({
|
|
218
|
+
path: path + ".lib[" + index9082729578544395 + "]",
|
|
219
|
+
expected: "string",
|
|
220
|
+
value: elem
|
|
221
|
+
}))), exceptionable, () => ({
|
|
222
|
+
path: path + ".lib",
|
|
223
|
+
expected: "(Array<string> | undefined)",
|
|
224
|
+
value: input.lib
|
|
225
|
+
})) && $pred(undefined === input.locale || "string" === typeof input.locale, exceptionable, () => ({
|
|
226
|
+
path: path + ".locale",
|
|
227
|
+
expected: "(string | undefined)",
|
|
228
|
+
value: input.locale
|
|
229
|
+
})) && $pred(undefined === input.mapRoot || "string" === typeof input.mapRoot, exceptionable, () => ({
|
|
230
|
+
path: path + ".mapRoot",
|
|
231
|
+
expected: "(string | undefined)",
|
|
232
|
+
value: input.mapRoot
|
|
233
|
+
})) && $pred(undefined === input.maxNodeModuleJsDepth || "number" === typeof input.maxNodeModuleJsDepth && Number.isFinite(input.maxNodeModuleJsDepth) && !Number.isNaN(input.maxNodeModuleJsDepth), exceptionable, () => ({
|
|
234
|
+
path: path + ".maxNodeModuleJsDepth",
|
|
235
|
+
expected: "(number | undefined)",
|
|
236
|
+
value: input.maxNodeModuleJsDepth
|
|
237
|
+
})) && (undefined === input.module || 0 === input.module || 1 === input.module || 2 === input.module || 3 === input.module || 4 === input.module || 5 === input.module || 6 === input.module || 7 === input.module || 99 === input.module || 100 === input.module || 199 === input.module) && (undefined === input.moduleResolution || 1 === input.moduleResolution || 2 === input.moduleResolution || 3 === input.moduleResolution || 99 === input.moduleResolution) && $pred(undefined === input.moduleSuffixes || Array.isArray(input.moduleSuffixes) && input.moduleSuffixes.every((elem, index57463272761846) => $pred("string" === typeof elem, exceptionable, () => ({
|
|
238
|
+
path: path + ".moduleSuffixes[" + index57463272761846 + "]",
|
|
239
|
+
expected: "string",
|
|
240
|
+
value: elem
|
|
241
|
+
}))), exceptionable, () => ({
|
|
242
|
+
path: path + ".moduleSuffixes",
|
|
243
|
+
expected: "(Array<string> | undefined)",
|
|
244
|
+
value: input.moduleSuffixes
|
|
245
|
+
})) && (undefined === input.moduleDetection || 1 === input.moduleDetection || 2 === input.moduleDetection || 3 === input.moduleDetection) && (undefined === input.newLine || 0 === input.newLine || 1 === input.newLine) && $pred(undefined === input.noEmit || "boolean" === typeof input.noEmit, exceptionable, () => ({
|
|
246
|
+
path: path + ".noEmit",
|
|
247
|
+
expected: "(boolean | undefined)",
|
|
248
|
+
value: input.noEmit
|
|
249
|
+
})) && $pred(undefined === input.noEmitHelpers || "boolean" === typeof input.noEmitHelpers, exceptionable, () => ({
|
|
250
|
+
path: path + ".noEmitHelpers",
|
|
251
|
+
expected: "(boolean | undefined)",
|
|
252
|
+
value: input.noEmitHelpers
|
|
253
|
+
})) && $pred(undefined === input.noEmitOnError || "boolean" === typeof input.noEmitOnError, exceptionable, () => ({
|
|
254
|
+
path: path + ".noEmitOnError",
|
|
255
|
+
expected: "(boolean | undefined)",
|
|
256
|
+
value: input.noEmitOnError
|
|
257
|
+
})) && $pred(undefined === input.noErrorTruncation || "boolean" === typeof input.noErrorTruncation, exceptionable, () => ({
|
|
258
|
+
path: path + ".noErrorTruncation",
|
|
259
|
+
expected: "(boolean | undefined)",
|
|
260
|
+
value: input.noErrorTruncation
|
|
261
|
+
})) && $pred(undefined === input.noFallthroughCasesInSwitch || "boolean" === typeof input.noFallthroughCasesInSwitch, exceptionable, () => ({
|
|
262
|
+
path: path + ".noFallthroughCasesInSwitch",
|
|
263
|
+
expected: "(boolean | undefined)",
|
|
264
|
+
value: input.noFallthroughCasesInSwitch
|
|
265
|
+
})) && $pred(undefined === input.noImplicitAny || "boolean" === typeof input.noImplicitAny, exceptionable, () => ({
|
|
266
|
+
path: path + ".noImplicitAny",
|
|
267
|
+
expected: "(boolean | undefined)",
|
|
268
|
+
value: input.noImplicitAny
|
|
269
|
+
})) && $pred(undefined === input.noImplicitReturns || "boolean" === typeof input.noImplicitReturns, exceptionable, () => ({
|
|
270
|
+
path: path + ".noImplicitReturns",
|
|
271
|
+
expected: "(boolean | undefined)",
|
|
272
|
+
value: input.noImplicitReturns
|
|
273
|
+
})) && $pred(undefined === input.noImplicitThis || "boolean" === typeof input.noImplicitThis, exceptionable, () => ({
|
|
274
|
+
path: path + ".noImplicitThis",
|
|
275
|
+
expected: "(boolean | undefined)",
|
|
276
|
+
value: input.noImplicitThis
|
|
277
|
+
})) && $pred(undefined === input.noStrictGenericChecks || "boolean" === typeof input.noStrictGenericChecks, exceptionable, () => ({
|
|
278
|
+
path: path + ".noStrictGenericChecks",
|
|
279
|
+
expected: "(boolean | undefined)",
|
|
280
|
+
value: input.noStrictGenericChecks
|
|
281
|
+
})) && $pred(undefined === input.noUnusedLocals || "boolean" === typeof input.noUnusedLocals, exceptionable, () => ({
|
|
282
|
+
path: path + ".noUnusedLocals",
|
|
283
|
+
expected: "(boolean | undefined)",
|
|
284
|
+
value: input.noUnusedLocals
|
|
285
|
+
})) && $pred(undefined === input.noUnusedParameters || "boolean" === typeof input.noUnusedParameters, exceptionable, () => ({
|
|
286
|
+
path: path + ".noUnusedParameters",
|
|
287
|
+
expected: "(boolean | undefined)",
|
|
288
|
+
value: input.noUnusedParameters
|
|
289
|
+
})) && $pred(undefined === input.noImplicitUseStrict || "boolean" === typeof input.noImplicitUseStrict, exceptionable, () => ({
|
|
290
|
+
path: path + ".noImplicitUseStrict",
|
|
291
|
+
expected: "(boolean | undefined)",
|
|
292
|
+
value: input.noImplicitUseStrict
|
|
293
|
+
})) && $pred(undefined === input.noPropertyAccessFromIndexSignature || "boolean" === typeof input.noPropertyAccessFromIndexSignature, exceptionable, () => ({
|
|
294
|
+
path: path + ".noPropertyAccessFromIndexSignature",
|
|
295
|
+
expected: "(boolean | undefined)",
|
|
296
|
+
value: input.noPropertyAccessFromIndexSignature
|
|
297
|
+
})) && $pred(undefined === input.assumeChangesOnlyAffectDirectDependencies || "boolean" === typeof input.assumeChangesOnlyAffectDirectDependencies, exceptionable, () => ({
|
|
298
|
+
path: path + ".assumeChangesOnlyAffectDirectDependencies",
|
|
299
|
+
expected: "(boolean | undefined)",
|
|
300
|
+
value: input.assumeChangesOnlyAffectDirectDependencies
|
|
301
|
+
})) && $pred(undefined === input.noLib || "boolean" === typeof input.noLib, exceptionable, () => ({
|
|
302
|
+
path: path + ".noLib",
|
|
303
|
+
expected: "(boolean | undefined)",
|
|
304
|
+
value: input.noLib
|
|
305
|
+
})) && $pred(undefined === input.noResolve || "boolean" === typeof input.noResolve, exceptionable, () => ({
|
|
306
|
+
path: path + ".noResolve",
|
|
307
|
+
expected: "(boolean | undefined)",
|
|
308
|
+
value: input.noResolve
|
|
309
|
+
})) && $pred(undefined === input.noUncheckedIndexedAccess || "boolean" === typeof input.noUncheckedIndexedAccess, exceptionable, () => ({
|
|
310
|
+
path: path + ".noUncheckedIndexedAccess",
|
|
311
|
+
expected: "(boolean | undefined)",
|
|
312
|
+
value: input.noUncheckedIndexedAccess
|
|
313
|
+
})) && $pred(undefined === input.out || "string" === typeof input.out, exceptionable, () => ({
|
|
314
|
+
path: path + ".out",
|
|
315
|
+
expected: "(string | undefined)",
|
|
316
|
+
value: input.out
|
|
317
|
+
})) && $pred(undefined === input.outDir || "string" === typeof input.outDir, exceptionable, () => ({
|
|
318
|
+
path: path + ".outDir",
|
|
319
|
+
expected: "(string | undefined)",
|
|
320
|
+
value: input.outDir
|
|
321
|
+
})) && $pred(undefined === input.outFile || "string" === typeof input.outFile, exceptionable, () => ({
|
|
322
|
+
path: path + ".outFile",
|
|
323
|
+
expected: "(string | undefined)",
|
|
324
|
+
value: input.outFile
|
|
325
|
+
})) && $pred(null !== input.paths && (undefined === input.paths || "object" === typeof input.paths && null !== input.paths && !Array.isArray(input.paths) && $ao[3](input.paths, path + ".paths", true && exceptionable)), exceptionable, () => ({
|
|
326
|
+
path: path + ".paths",
|
|
327
|
+
expected: "(Resolve<ts.MapLike<Array<string>>> | undefined)",
|
|
328
|
+
value: input.paths
|
|
329
|
+
})) && $pred(undefined === input.preserveConstEnums || "boolean" === typeof input.preserveConstEnums, exceptionable, () => ({
|
|
330
|
+
path: path + ".preserveConstEnums",
|
|
331
|
+
expected: "(boolean | undefined)",
|
|
332
|
+
value: input.preserveConstEnums
|
|
333
|
+
})) && $pred(undefined === input.noImplicitOverride || "boolean" === typeof input.noImplicitOverride, exceptionable, () => ({
|
|
334
|
+
path: path + ".noImplicitOverride",
|
|
335
|
+
expected: "(boolean | undefined)",
|
|
336
|
+
value: input.noImplicitOverride
|
|
337
|
+
})) && $pred(undefined === input.preserveSymlinks || "boolean" === typeof input.preserveSymlinks, exceptionable, () => ({
|
|
338
|
+
path: path + ".preserveSymlinks",
|
|
339
|
+
expected: "(boolean | undefined)",
|
|
340
|
+
value: input.preserveSymlinks
|
|
341
|
+
})) && $pred(undefined === input.preserveValueImports || "boolean" === typeof input.preserveValueImports, exceptionable, () => ({
|
|
342
|
+
path: path + ".preserveValueImports",
|
|
343
|
+
expected: "(boolean | undefined)",
|
|
344
|
+
value: input.preserveValueImports
|
|
345
|
+
})) && $pred(undefined === input.project || "string" === typeof input.project, exceptionable, () => ({
|
|
346
|
+
path: path + ".project",
|
|
347
|
+
expected: "(string | undefined)",
|
|
348
|
+
value: input.project
|
|
349
|
+
})) && $pred(undefined === input.reactNamespace || "string" === typeof input.reactNamespace, exceptionable, () => ({
|
|
350
|
+
path: path + ".reactNamespace",
|
|
351
|
+
expected: "(string | undefined)",
|
|
352
|
+
value: input.reactNamespace
|
|
353
|
+
})) && $pred(undefined === input.jsxFactory || "string" === typeof input.jsxFactory, exceptionable, () => ({
|
|
354
|
+
path: path + ".jsxFactory",
|
|
355
|
+
expected: "(string | undefined)",
|
|
356
|
+
value: input.jsxFactory
|
|
357
|
+
})) && $pred(undefined === input.jsxFragmentFactory || "string" === typeof input.jsxFragmentFactory, exceptionable, () => ({
|
|
358
|
+
path: path + ".jsxFragmentFactory",
|
|
359
|
+
expected: "(string | undefined)",
|
|
360
|
+
value: input.jsxFragmentFactory
|
|
361
|
+
})) && $pred(undefined === input.jsxImportSource || "string" === typeof input.jsxImportSource, exceptionable, () => ({
|
|
362
|
+
path: path + ".jsxImportSource",
|
|
363
|
+
expected: "(string | undefined)",
|
|
364
|
+
value: input.jsxImportSource
|
|
365
|
+
})) && $pred(undefined === input.composite || "boolean" === typeof input.composite, exceptionable, () => ({
|
|
366
|
+
path: path + ".composite",
|
|
367
|
+
expected: "(boolean | undefined)",
|
|
368
|
+
value: input.composite
|
|
369
|
+
})) && $pred(undefined === input.incremental || "boolean" === typeof input.incremental, exceptionable, () => ({
|
|
370
|
+
path: path + ".incremental",
|
|
371
|
+
expected: "(boolean | undefined)",
|
|
372
|
+
value: input.incremental
|
|
373
|
+
})) && $pred(undefined === input.tsBuildInfoFile || "string" === typeof input.tsBuildInfoFile, exceptionable, () => ({
|
|
374
|
+
path: path + ".tsBuildInfoFile",
|
|
375
|
+
expected: "(string | undefined)",
|
|
376
|
+
value: input.tsBuildInfoFile
|
|
377
|
+
})) && $pred(undefined === input.removeComments || "boolean" === typeof input.removeComments, exceptionable, () => ({
|
|
378
|
+
path: path + ".removeComments",
|
|
379
|
+
expected: "(boolean | undefined)",
|
|
380
|
+
value: input.removeComments
|
|
381
|
+
})) && $pred(undefined === input.rootDir || "string" === typeof input.rootDir, exceptionable, () => ({
|
|
382
|
+
path: path + ".rootDir",
|
|
383
|
+
expected: "(string | undefined)",
|
|
384
|
+
value: input.rootDir
|
|
385
|
+
})) && $pred(undefined === input.rootDirs || Array.isArray(input.rootDirs) && input.rootDirs.every((elem, index7725261144147055) => $pred("string" === typeof elem, exceptionable, () => ({
|
|
386
|
+
path: path + ".rootDirs[" + index7725261144147055 + "]",
|
|
387
|
+
expected: "string",
|
|
388
|
+
value: elem
|
|
389
|
+
}))), exceptionable, () => ({
|
|
390
|
+
path: path + ".rootDirs",
|
|
391
|
+
expected: "(Array<string> | undefined)",
|
|
392
|
+
value: input.rootDirs
|
|
393
|
+
})) && $pred(undefined === input.skipLibCheck || "boolean" === typeof input.skipLibCheck, exceptionable, () => ({
|
|
394
|
+
path: path + ".skipLibCheck",
|
|
395
|
+
expected: "(boolean | undefined)",
|
|
396
|
+
value: input.skipLibCheck
|
|
397
|
+
})) && $pred(undefined === input.skipDefaultLibCheck || "boolean" === typeof input.skipDefaultLibCheck, exceptionable, () => ({
|
|
398
|
+
path: path + ".skipDefaultLibCheck",
|
|
399
|
+
expected: "(boolean | undefined)",
|
|
400
|
+
value: input.skipDefaultLibCheck
|
|
401
|
+
})) && $pred(undefined === input.sourceMap || "boolean" === typeof input.sourceMap, exceptionable, () => ({
|
|
402
|
+
path: path + ".sourceMap",
|
|
403
|
+
expected: "(boolean | undefined)",
|
|
404
|
+
value: input.sourceMap
|
|
405
|
+
})) && $pred(undefined === input.sourceRoot || "string" === typeof input.sourceRoot, exceptionable, () => ({
|
|
406
|
+
path: path + ".sourceRoot",
|
|
407
|
+
expected: "(string | undefined)",
|
|
408
|
+
value: input.sourceRoot
|
|
409
|
+
})) && $pred(undefined === input.strict || "boolean" === typeof input.strict, exceptionable, () => ({
|
|
410
|
+
path: path + ".strict",
|
|
411
|
+
expected: "(boolean | undefined)",
|
|
412
|
+
value: input.strict
|
|
413
|
+
})) && $pred(undefined === input.strictFunctionTypes || "boolean" === typeof input.strictFunctionTypes, exceptionable, () => ({
|
|
414
|
+
path: path + ".strictFunctionTypes",
|
|
415
|
+
expected: "(boolean | undefined)",
|
|
416
|
+
value: input.strictFunctionTypes
|
|
417
|
+
})) && $pred(undefined === input.strictBindCallApply || "boolean" === typeof input.strictBindCallApply, exceptionable, () => ({
|
|
418
|
+
path: path + ".strictBindCallApply",
|
|
419
|
+
expected: "(boolean | undefined)",
|
|
420
|
+
value: input.strictBindCallApply
|
|
421
|
+
})) && $pred(undefined === input.strictNullChecks || "boolean" === typeof input.strictNullChecks, exceptionable, () => ({
|
|
422
|
+
path: path + ".strictNullChecks",
|
|
423
|
+
expected: "(boolean | undefined)",
|
|
424
|
+
value: input.strictNullChecks
|
|
425
|
+
})) && $pred(undefined === input.strictPropertyInitialization || "boolean" === typeof input.strictPropertyInitialization, exceptionable, () => ({
|
|
426
|
+
path: path + ".strictPropertyInitialization",
|
|
427
|
+
expected: "(boolean | undefined)",
|
|
428
|
+
value: input.strictPropertyInitialization
|
|
429
|
+
})) && $pred(undefined === input.stripInternal || "boolean" === typeof input.stripInternal, exceptionable, () => ({
|
|
430
|
+
path: path + ".stripInternal",
|
|
431
|
+
expected: "(boolean | undefined)",
|
|
432
|
+
value: input.stripInternal
|
|
433
|
+
})) && $pred(undefined === input.suppressExcessPropertyErrors || "boolean" === typeof input.suppressExcessPropertyErrors, exceptionable, () => ({
|
|
434
|
+
path: path + ".suppressExcessPropertyErrors",
|
|
435
|
+
expected: "(boolean | undefined)",
|
|
436
|
+
value: input.suppressExcessPropertyErrors
|
|
437
|
+
})) && $pred(undefined === input.suppressImplicitAnyIndexErrors || "boolean" === typeof input.suppressImplicitAnyIndexErrors, exceptionable, () => ({
|
|
438
|
+
path: path + ".suppressImplicitAnyIndexErrors",
|
|
439
|
+
expected: "(boolean | undefined)",
|
|
440
|
+
value: input.suppressImplicitAnyIndexErrors
|
|
441
|
+
})) && (undefined === input.target || 0 === input.target || 1 === input.target || 2 === input.target || 3 === input.target || 4 === input.target || 5 === input.target || 6 === input.target || 7 === input.target || 8 === input.target || 9 === input.target || 99 === input.target || 100 === input.target) && $pred(undefined === input.traceResolution || "boolean" === typeof input.traceResolution, exceptionable, () => ({
|
|
442
|
+
path: path + ".traceResolution",
|
|
443
|
+
expected: "(boolean | undefined)",
|
|
444
|
+
value: input.traceResolution
|
|
445
|
+
})) && $pred(undefined === input.useUnknownInCatchVariables || "boolean" === typeof input.useUnknownInCatchVariables, exceptionable, () => ({
|
|
446
|
+
path: path + ".useUnknownInCatchVariables",
|
|
447
|
+
expected: "(boolean | undefined)",
|
|
448
|
+
value: input.useUnknownInCatchVariables
|
|
449
|
+
})) && $pred(undefined === input.resolveJsonModule || "boolean" === typeof input.resolveJsonModule, exceptionable, () => ({
|
|
450
|
+
path: path + ".resolveJsonModule",
|
|
451
|
+
expected: "(boolean | undefined)",
|
|
452
|
+
value: input.resolveJsonModule
|
|
453
|
+
})) && $pred(undefined === input.types || Array.isArray(input.types) && input.types.every((elem, index8758362191320128) => $pred("string" === typeof elem, exceptionable, () => ({
|
|
454
|
+
path: path + ".types[" + index8758362191320128 + "]",
|
|
455
|
+
expected: "string",
|
|
456
|
+
value: elem
|
|
457
|
+
}))), exceptionable, () => ({
|
|
458
|
+
path: path + ".types",
|
|
459
|
+
expected: "(Array<string> | undefined)",
|
|
460
|
+
value: input.types
|
|
461
|
+
})) && $pred(undefined === input.typeRoots || Array.isArray(input.typeRoots) && input.typeRoots.every((elem, index7475471024766156) => $pred("string" === typeof elem, exceptionable, () => ({
|
|
462
|
+
path: path + ".typeRoots[" + index7475471024766156 + "]",
|
|
463
|
+
expected: "string",
|
|
464
|
+
value: elem
|
|
465
|
+
}))), exceptionable, () => ({
|
|
466
|
+
path: path + ".typeRoots",
|
|
467
|
+
expected: "(Array<string> | undefined)",
|
|
468
|
+
value: input.typeRoots
|
|
469
|
+
})) && $pred(undefined === input.esModuleInterop || "boolean" === typeof input.esModuleInterop, exceptionable, () => ({
|
|
470
|
+
path: path + ".esModuleInterop",
|
|
471
|
+
expected: "(boolean | undefined)",
|
|
472
|
+
value: input.esModuleInterop
|
|
473
|
+
})) && $pred(undefined === input.useDefineForClassFields || "boolean" === typeof input.useDefineForClassFields, exceptionable, () => ({
|
|
474
|
+
path: path + ".useDefineForClassFields",
|
|
475
|
+
expected: "(boolean | undefined)",
|
|
476
|
+
value: input.useDefineForClassFields
|
|
477
|
+
})),
|
|
478
|
+
(input, path, exceptionable) => true,
|
|
479
|
+
(input, path, exceptionable) => $pred("string" === typeof input.output, exceptionable, () => ({
|
|
480
|
+
path: path + ".output",
|
|
481
|
+
expected: "string",
|
|
482
|
+
value: input.output
|
|
483
|
+
}))
|
|
484
|
+
];
|
|
485
|
+
return $pred(null !== input && $pred("object" === typeof input && null !== input && !Array.isArray(input) && $ao[0](input, path + "", true), true, () => ({
|
|
486
|
+
path: path + "",
|
|
487
|
+
expected: "Resolve<__type>",
|
|
488
|
+
value: input
|
|
489
|
+
})), true, () => ({
|
|
490
|
+
path: path + "",
|
|
491
|
+
expected: "Resolve<__type>",
|
|
492
|
+
value: input
|
|
493
|
+
}));
|
|
494
|
+
})(input); return input; })(nestia_fetcher_1.Primitive.clone(config));
|
|
495
|
+
}));
|
|
533
496
|
})(NestiaConfig = exports.NestiaConfig || (exports.NestiaConfig = {}));
|
|
534
497
|
//# sourceMappingURL=NestiaConfig.js.map
|