From c630a98e559bc64587d5cfbc1cb34ec2770469b9 Mon Sep 17 00:00:00 2001 From: Edmundo Santos Date: Fri, 27 Aug 2021 20:56:23 -0300 Subject: [PATCH] docs(typescript-estree): fix plural name for parserOptions.programs option --- packages/typescript-estree/README.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/packages/typescript-estree/README.md b/packages/typescript-estree/README.md index 9cbcb2727cfc..605836b3c692 100644 --- a/packages/typescript-estree/README.md +++ b/packages/typescript-estree/README.md @@ -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[]; /** *************************************************************************************** @@ -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(