tsd
Version:
Check TypeScript type definitions
10 lines (9 loc) • 324 B
TypeScript
import { Context, Diagnostic } from '../interfaces';
/**
* Rule which enforces the typings file to be present in the `files` list in `package.json`.
*
* @param context - The context object.
* @returns A list of custom diagnostics.
*/
declare const _default: (context: Context) => Diagnostic[];
export default _default;