From c12d7ff1935f74cf8d3c3e8e9396dd68dd52a56f Mon Sep 17 00:00:00 2001 From: Giulio Canti Date: Tue, 28 May 2024 09:09:29 +0200 Subject: [PATCH] remove unused internal APIs (#2866) --- packages/schema/src/AST.ts | 8 -------- 1 file changed, 8 deletions(-) diff --git a/packages/schema/src/AST.ts b/packages/schema/src/AST.ts index 7d44e861f4..176b7387cb 100644 --- a/packages/schema/src/AST.ts +++ b/packages/schema/src/AST.ts @@ -2236,14 +2236,6 @@ export const getCompiler = (match: Match): Compiler => { return compile } -/** @internal */ -export const getToPropertySignatures = (ps: ReadonlyArray): Array => - ps.map((p) => new PropertySignature(p.name, typeAST(p.type), p.isOptional, p.isReadonly, p.annotations)) - -/** @internal */ -export const getToIndexSignatures = (ps: ReadonlyArray): Array => - ps.map((is) => new IndexSignature(is.parameter, typeAST(is.type), is.isReadonly)) - /** * @since 1.0.0 */