Files
memecoin-botV2/.pnpm-store/v10/files/d7/c2079fe230461f333ad5a19046bb598bea66c4820c7dc392dc26de37c9d5bc5003217fbd46b66db47aeb50a3ee732123607d86a68e964bc3e0140344991107

17 lines
738 B
Plaintext

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.withoutProjectParserOptions = withoutProjectParserOptions;
/**
* Removes options that prompt the parser to parse the project with type
* information. In other words, you can use this if you are invoking the parser
* directly, to ensure that one file will be parsed in isolation, which is much,
* much faster.
*
* @see https://github.com/typescript-eslint/typescript-eslint/issues/8428
*/
function withoutProjectParserOptions(opts) {
// eslint-disable-next-line @typescript-eslint/no-unused-vars -- The variables are meant to be omitted
const { EXPERIMENTAL_useProjectService, project, projectService, ...rest } = opts;
return rest;
}