Limit auto import provider project size (#39855)

* Limit auto import provider project size

* Add test

* Make option configurable

* Fix test

* Only bail when setting is auto

* Fix other test

* Update API baseline
This commit is contained in:
Andrew Branch
2020-08-02 17:47:49 -07:00
committed by GitHub
parent 94989789df
commit 86a87c493c
10 changed files with 44 additions and 20 deletions

View File

@@ -211,9 +211,9 @@ namespace ts {
/* @internal */
export const enum PackageJsonAutoImportPreference {
None,
ExcludeDevDependencies,
All
Off,
On,
Auto,
}
export interface PerformanceEvent {