Skip to content

Commit

Permalink
docs(typescript-estree): fix plural name for parserOptions.programs o…
Browse files Browse the repository at this point in the history
…ption (#3799)
  • Loading branch information
rdsedmundo committed Sep 3, 2021
1 parent bb72fd6 commit b33a2ea
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions packages/typescript-estree/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -209,11 +209,11 @@ interface ParseAndGenerateServicesOptions extends ParseOptions {
tsconfigRootDir?: string;

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

/**
***************************************************************************************
Expand Down Expand Up @@ -333,7 +333,7 @@ Types for the AST produced by the parse functions.

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

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

```ts
declare function createProgram(
Expand Down

0 comments on commit b33a2ea

Please sign in to comment.