Add TS Server option to exclude files from auto-imports (#49578)

* Basic functionality

* Add tests

* Add test for ambient modules

* Add to protocol
This commit is contained in:
Andrew Branch
2022-06-17 14:39:51 -07:00
committed by GitHub
parent 1213c35d57
commit 7e7c53961a
12 changed files with 171 additions and 11 deletions

View File

@@ -8990,6 +8990,7 @@ namespace ts {
readonly includeInlayFunctionLikeReturnTypeHints?: boolean;
readonly includeInlayEnumMemberValueHints?: boolean;
readonly allowRenameOfImportPath?: boolean;
readonly autoImportFileExcludePatterns?: string[];
}
/** Represents a bigint literal value without requiring bigint support */