Skip to content

Commit

Permalink
remove unused internal APIs (#2866)
Browse files Browse the repository at this point in the history
  • Loading branch information
gcanti authored May 28, 2024
1 parent 37acb4a commit c12d7ff
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions packages/schema/src/AST.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2236,14 +2236,6 @@ export const getCompiler = <A>(match: Match<A>): Compiler<A> => {
return compile
}

/** @internal */
export const getToPropertySignatures = (ps: ReadonlyArray<PropertySignature>): Array<PropertySignature> =>
ps.map((p) => new PropertySignature(p.name, typeAST(p.type), p.isOptional, p.isReadonly, p.annotations))

/** @internal */
export const getToIndexSignatures = (ps: ReadonlyArray<IndexSignature>): Array<IndexSignature> =>
ps.map((is) => new IndexSignature(is.parameter, typeAST(is.type), is.isReadonly))

/**
* @since 1.0.0
*/
Expand Down

0 comments on commit c12d7ff

Please sign in to comment.