UNPKG

mlh-tsd

Version:

Check TypeScript type definitions

16 lines (15 loc) 398 B
export interface Options { cwd: string; typingsFile?: string; testFiles?: string[]; } declare const _default: (options?: Options) => Promise<{ numTests: number; diagnostics: import("./interfaces").Diagnostic[]; }>; /** * Type check the type definition of the project. * * @returns A promise which resolves the diagnostics of the type definition. */ export default _default;