MCPcopy Create free account
hub / github.com/json-editor/json-editor / optimizeNames

Method optimizeNames

docs/scripts/ajv-validator.js:1045–1051  ·  view source on GitHub ↗
(names, constants)

Source from the content-addressed store, hash-verified

1043 return this;
1044 }
1045 optimizeNames(names, constants) {
1046 var _a, _b;
1047 super.optimizeNames(names, constants);
1048 (_a = this.catch) === null || _a === void 0 ? void 0 : _a.optimizeNames(names, constants);
1049 (_b = this.finally) === null || _b === void 0 ? void 0 : _b.optimizeNames(names, constants);
1050 return this;
1051 }
1052 get names() {
1053 const names = super.names;
1054 if (this.catch)

Callers

nothing calls this directly

Calls 1

optimizeNamesMethod · 0.45

Tested by

no test coverage detected