@netlify/content-engine
Version:
13 lines • 649 B
TypeScript
declare const isASTDocument: (typeOrTypeDef: any) => any;
/**
* Parses type definition represented as an SDL string into an AST Document.
* Type definitions of other formats (other than SDL) are returned as is
*/
declare const parseTypeDef: (typeOrTypeDef: any) => any;
declare const reportParsingError: (error: any) => void;
/**
* Given a type definition, collects type names that should skip the inference process
*/
declare const typesWithoutInference: (typeNames: never[] | undefined, typeOrTypeDef: any) => never[];
export { parseTypeDef, reportParsingError, typesWithoutInference, isASTDocument, };
//# sourceMappingURL=type-defs.d.ts.map