Skip to content

Commit c24ee55

Browse files
committed
small configuration cleanup
1 parent faf7c97 commit c24ee55

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

src/configurationType.ts

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,8 @@ export type Configuration = {
8787
* Format of this setting is very close to `jsxCompletionsMap` setting:
8888
* `path#symbol` (exact) or `path/*#symbol` (`#symbol` part can be omitted)
8989
*
90-
* Note: Please use `javascript`/`typescript.preferences.autoImportFileExcludePatterns` when possible, to achieve better performance!
90+
* **Note**: Please use builtin `javascript`/`typescript.preferences.autoImportFileExcludePatterns` when possible, to achieve better performance!
91+
* The builtin function expects relative paths to .d.ts / .ts files that contains declarations.
9192
*
9293
* e.g. instead of declaring `@mui/icons-material` here, declare `node_modules/@mui/icons-material` in aforementioned setting.
9394
*
@@ -99,7 +100,7 @@ export type Configuration = {
99100
* - `path/*#join` - ignore path, path/posix and path/win32, but only join symbol
100101
* - `path/*#join,resolve` - ignore path, path/posix and path/win32, but only join and resolve symbol
101102
*
102-
* - jquery/* - ignore absolutely all auto imports from jquery, even if it was declared virtually (declare module)
103+
* - jquery/* - ignore absolutely all auto imports from jquery, even if it was declared using ambient declaration (`declare module`)
103104
* @default []
104105
*/
105106
'suggestions.ignoreAutoImports': string[]

0 commit comments

Comments
 (0)