(opt, value, errors)
| 41928 | return value; |
| 41929 | } |
| 41930 | function validateJsonOptionValue(opt, value, errors) { |
| 41931 | var _a; |
| 41932 | if (isNullOrUndefined(value)) |
| 41933 | return undefined; |
| 41934 | var d = (_a = opt.extraValidation) === null || _a === void 0 ? void 0 : _a.call(opt, value); |
| 41935 | if (!d) |
| 41936 | return value; |
| 41937 | errors.push(ts.createCompilerDiagnostic.apply(void 0, d)); |
| 41938 | return undefined; |
| 41939 | } |
| 41940 | function convertJsonOptionOfCustomType(opt, value, errors) { |
| 41941 | if (isNullOrUndefined(value)) |
| 41942 | return undefined; |
no test coverage detected