rm unused fn

main
Laurin Weger 3 weeks ago
parent 4f8e33dfa4
commit bdce4700f6
No known key found for this signature in database
GPG Key ID: 9B372BB0B792770F
  1. 12
      packages/schema-converter-shex/src/typing/ShexJTypingTransformerCompact.ts

@ -44,18 +44,6 @@ function isPrimitiveLike(t: dom.Type): boolean {
return intrinsicKinds.has(kind || "");
}
function normalizeAnonymousInterface(t: dom.Type): dom.Type {
if (
(t as dom.InterfaceDeclaration).kind === "interface" &&
!(t as dom.InterfaceDeclaration).name
) {
return dom.create.objectType(
(t as dom.InterfaceDeclaration).members as dom.PropertyDeclaration[]
);
}
return t;
}
// Property name collision resolution using predicate IRI mapping
const predicateIriByProp = new WeakMap<dom.PropertyDeclaration, string>();
/**

Loading…
Cancel
Save