Thanks to visit codestin.com
Credit goes to github.com

Skip to content

docs(typescript-estree): fix plural name for parserOptions.programs option #3799

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Sep 3, 2021
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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