persona-community-5/.pnpm-store/v3/files/13/88d3f863a89c653c95f4a671e545586981e9d2055dda76675066194dd5b73357a6c32012123db8f14aa0144ca2083bcbbabd9e27b4492530a5c1b64acfbca8
rdev-worker a1d0d1bf1c
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed
build: /implement-feature community-ui --requirements 'Build the React commu...
2026-02-24 08:22:30 +00:00

24 lines
1.6 KiB
Plaintext

import type * as TSESLint from '../ts-eslint';
import type { ParserServices, ParserServicesWithTypeInformation } from '../ts-estree';
/**
* Try to retrieve type-aware parser service from context.
* This **_will_** throw if it is not available.
*/
declare function getParserServices<MessageIds extends string, Options extends readonly unknown[]>(context: Readonly<TSESLint.RuleContext<MessageIds, Options>>): ParserServicesWithTypeInformation;
/**
* Try to retrieve type-aware parser service from context.
* This **_will_** throw if it is not available.
*/
declare function getParserServices<MessageIds extends string, Options extends readonly unknown[]>(context: Readonly<TSESLint.RuleContext<MessageIds, Options>>, allowWithoutFullTypeInformation: false): ParserServicesWithTypeInformation;
/**
* Try to retrieve type-aware parser service from context.
* This **_will not_** throw if it is not available.
*/
declare function getParserServices<MessageIds extends string, Options extends readonly unknown[]>(context: Readonly<TSESLint.RuleContext<MessageIds, Options>>, allowWithoutFullTypeInformation: true): ParserServices;
/**
* Try to retrieve type-aware parser service from context.
* This may or may not throw if it is not available, depending on if `allowWithoutFullTypeInformation` is `true`
*/
declare function getParserServices<MessageIds extends string, Options extends readonly unknown[]>(context: Readonly<TSESLint.RuleContext<MessageIds, Options>>, allowWithoutFullTypeInformation: boolean): ParserServices;
export { getParserServices };
//# sourceMappingURL=getParserServices.d.ts.map