Skip to content

Commit b33a2ea

Browse files
authored
docs(typescript-estree): fix plural name for parserOptions.programs option (typescript-eslint#3799)
1 parent bb72fd6 commit b33a2ea

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

packages/typescript-estree/README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -209,11 +209,11 @@ interface ParseAndGenerateServicesOptions extends ParseOptions {
209209
tsconfigRootDir?: string;
210210

211211
/**
212-
* Instance of a TypeScript Program object to be used for type information.
212+
* An array of one or more instances of TypeScript Program objects to be used for type information.
213213
* This overrides any program or programs that would have been computed from the `project` option.
214-
* All linted files must be part of the provided program.
214+
* All linted files must be part of the provided program(s).
215215
*/
216-
program?: import('typescript').Program;
216+
programs?: Program[];
217217

218218
/**
219219
***************************************************************************************
@@ -333,7 +333,7 @@ Types for the AST produced by the parse functions.
333333

334334
#### `createProgram(configFile, projectDirectory)`
335335

336-
This serves as a utility method for users of the `ParseOptions.program` feature to create a TypeScript program instance from a config file.
336+
This serves as a utility method for users of the `ParseOptions.programs` feature to create a TypeScript program instance from a config file.
337337

338338
```ts
339339
declare function createProgram(

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy