securityos/node_modules/eslint-plugin-sonarjs/lib/utils/parser-services.d.ts

6 lines
323 B
TypeScript
Raw Permalink Normal View History

2024-09-06 15:32:35 +00:00
import type { ParserServices } from '@typescript-eslint/experimental-utils';
export declare type RequiredParserServices = {
[k in keyof ParserServices]: Exclude<ParserServices[k], undefined>;
};
export declare function isRequiredParserServices(services: ParserServices | undefined): services is RequiredParserServices;