@trapi/metadata
Version:
Generate REST-API metadata scheme from TypeScript Decorators.
8 lines • 436 B
TypeScript
import type { Node, TypeNode } from 'typescript';
import { BaseError } from '../error';
export declare class ResolverError extends BaseError {
constructor(message: string, node?: Node | TypeNode, onlyCurrent?: boolean);
}
export declare function prettyLocationOfNode(node: Node | TypeNode): string;
export declare function prettyTroubleCause(node: Node | TypeNode, onlyCurrent?: boolean): string;
//# sourceMappingURL=error.d.ts.map