cem-plugin-better-lit-types
Advanced tools
Comparing version 0.1.12 to 0.1.13
@@ -32,6 +32,8 @@ import * as TJS from "typescript-json-schema"; | ||
Object.keys(type).forEach(k => { | ||
if (type[k].$ref) | ||
var _a; | ||
if ((_a = type[k]) === null || _a === void 0 ? void 0 : _a.$ref) { | ||
type[k] = getReferenceType(type[k], symbol); | ||
} | ||
}); | ||
if (!type.$ref) | ||
if (!(type === null || type === void 0 ? void 0 : type.$ref)) | ||
return type; | ||
@@ -38,0 +40,0 @@ const source = getReferenceType(type, symbol); |
{ | ||
"name": "cem-plugin-better-lit-types", | ||
"version": "0.1.12", | ||
"version": "0.1.13", | ||
"description": "Updates CEM definitions with Typescript Schema", | ||
@@ -5,0 +5,0 @@ "main": "dist/plugin.js", |
17730
409