typescript 7.1.0-dev.20260930.4 → 7.1.0-dev.20261001.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,195 @@
1
+ export interface CodeLensUserPreferences {
2
+ implementationsCodeLensEnabled?: boolean | undefined;
3
+ implementationsCodeLensShowOnAllClassMethods?: boolean | undefined;
4
+ implementationsCodeLensShowOnInterfaceMethods?: boolean | undefined;
5
+ referencesCodeLensEnabled?: boolean | undefined;
6
+ referencesCodeLensShowOnAllFunctions?: boolean | undefined;
7
+ }
8
+ /**
9
+ * CompletionPreferences contains preferences used while producing completions.
10
+ */
11
+ export interface CompletionPreferences {
12
+ /**
13
+ * Unless this option is `false`, member completion lists triggered with `.` will include entries
14
+ * on potentially-null and potentially-undefined values, with insertion text to replace
15
+ * preceding `.` tokens with `?.`.
16
+ */
17
+ includeAutomaticOptionalChainCompletions?: boolean | undefined;
18
+ /**
19
+ * Enables auto-import-style completions on partially-typed import statements. E.g., allows
20
+ * `import write|` to be completed to `import { writeResult } from "./utils.js"`.
21
+ */
22
+ includeCompletionsForImportStatements?: boolean | undefined;
23
+ /**
24
+ * If enabled, TypeScript will search through all external modules' exports and add them to the completions list.
25
+ * This affects lone identifier completions but not completions on the right hand side of `obj.`.
26
+ */
27
+ includeCompletionsForModuleExports?: boolean | undefined;
28
+ /**
29
+ * If enabled, completions for class members (e.g. methods and properties) will include
30
+ * a whole declaration for the member.
31
+ */
32
+ includeCompletionsWithClassMemberSnippets?: boolean | undefined;
33
+ /**
34
+ * If enabled, object literal methods will have a method declaration completion entry in addition
35
+ * to the regular completion entry containing just the method name.
36
+ */
37
+ includeCompletionsWithObjectLiteralMethodSnippets?: boolean | undefined;
38
+ jsxAttributeCompletionStyle?: "auto" | "braces" | "none" | undefined;
39
+ }
40
+ export interface EditorSettings {
41
+ baseIndentSize?: number | undefined;
42
+ convertTabsToSpaces?: boolean | undefined;
43
+ indentSize?: number | undefined;
44
+ indentStyle?: "none" | "block" | "smart" | undefined;
45
+ newLineCharacter?: string | undefined;
46
+ tabSize?: number | undefined;
47
+ trimTrailingWhitespace?: boolean | undefined;
48
+ }
49
+ export interface FormatCodeSettings extends EditorSettings {
50
+ indentMultiLineObjectLiteralBeginningOnBlankLine?: boolean | undefined;
51
+ indentSwitchCase?: boolean | undefined;
52
+ insertSpaceAfterCommaDelimiter?: boolean | undefined;
53
+ insertSpaceAfterConstructor?: boolean | undefined;
54
+ insertSpaceAfterFunctionKeywordForAnonymousFunctions?: boolean | undefined;
55
+ insertSpaceAfterKeywordsInControlFlowStatements?: boolean | undefined;
56
+ insertSpaceAfterOpeningAndBeforeClosingEmptyBraces?: boolean | undefined;
57
+ insertSpaceAfterOpeningAndBeforeClosingJsxExpressionBraces?: boolean | undefined;
58
+ insertSpaceAfterOpeningAndBeforeClosingNonemptyBraces?: boolean | undefined;
59
+ insertSpaceAfterOpeningAndBeforeClosingNonemptyBrackets?: boolean | undefined;
60
+ insertSpaceAfterOpeningAndBeforeClosingNonemptyParenthesis?: boolean | undefined;
61
+ insertSpaceAfterOpeningAndBeforeClosingTemplateStringBraces?: boolean | undefined;
62
+ insertSpaceAfterSemicolonInForStatements?: boolean | undefined;
63
+ insertSpaceAfterTypeAssertion?: boolean | undefined;
64
+ insertSpaceBeforeAndAfterBinaryOperators?: boolean | undefined;
65
+ insertSpaceBeforeFunctionParenthesis?: boolean | undefined;
66
+ insertSpaceBeforeTypeAnnotation?: boolean | undefined;
67
+ placeOpenBraceOnNewLineForControlBlocks?: boolean | undefined;
68
+ placeOpenBraceOnNewLineForFunctions?: boolean | undefined;
69
+ semicolons?: "ignore" | "insert" | "remove" | undefined;
70
+ }
71
+ export interface InlayHintsPreferences {
72
+ includeInlayEnumMemberValueHints?: boolean | undefined;
73
+ includeInlayFunctionLikeReturnTypeHints?: boolean | undefined;
74
+ includeInlayFunctionParameterTypeHints?: boolean | undefined;
75
+ includeInlayParameterNameHints?: "none" | "literals" | "all" | undefined;
76
+ includeInlayParameterNameHintsWhenArgumentMatchesName?: boolean | undefined;
77
+ includeInlayPropertyDeclarationTypeHints?: boolean | undefined;
78
+ includeInlayVariableTypeHints?: boolean | undefined;
79
+ includeInlayVariableTypeHintsWhenTypeMatchesName?: boolean | undefined;
80
+ }
81
+ /**
82
+ * UserPreferences represents TypeScript language service preferences.
83
+ */
84
+ export interface UserPreferences extends FormatCodeSettings, CompletionPreferences, InlayHintsPreferences, CodeLensUserPreferences {
85
+ allowRenameOfImportPath?: boolean | undefined;
86
+ allowTextChangesInNewFiles?: boolean | undefined;
87
+ autoClosingTags?: boolean | undefined;
88
+ autoImportEntrypointDirectorySearch?: boolean | undefined;
89
+ autoImportFileExcludePatterns?: string[] | undefined;
90
+ autoImportSpecifierExcludeRegexes?: string[] | undefined;
91
+ /**
92
+ * AutomaticTypeAcquisitionEnabled is the unified setting from tsserver.automaticTypeAcquisition.enabled under the js/ts section.
93
+ * When set, it takes precedence over DisableAutomaticTypeAcquisition.
94
+ */
95
+ automaticTypeAcquisitionEnabled?: boolean | undefined;
96
+ completeJSDocs?: boolean | undefined;
97
+ /**
98
+ * CustomConfigFileName specifies a custom config file name to use before defaulting to tsconfig.json/jsconfig.json.
99
+ */
100
+ customConfigFileName?: string | undefined;
101
+ /**
102
+ * DisableAutomaticTypeAcquisition is the deprecated setting from typescript.disableAutomaticTypeAcquisition.
103
+ */
104
+ disableAutomaticTypeAcquisition?: boolean | undefined;
105
+ disableLineTextInReferences?: boolean | undefined;
106
+ disableSuggestions?: boolean | undefined;
107
+ displayPartsForJSDoc?: boolean | undefined;
108
+ excludeLibrarySymbolsInNavTo?: boolean | undefined;
109
+ formatEnabled?: boolean | undefined;
110
+ generateReturnInDocTemplate?: boolean | undefined;
111
+ /**
112
+ * Determines whether we import `foo/index.ts` as "foo", "foo/index", or "foo/index.js"
113
+ */
114
+ importModuleSpecifierEnding?: "auto" | "minimal" | "index" | "js" | undefined;
115
+ importModuleSpecifierPreference?: "shortest" | "project-relative" | "relative" | "non-relative" | undefined;
116
+ lazyConfiguredProjectsFromExternalProject?: boolean | undefined;
117
+ locale?: string | undefined;
118
+ /**
119
+ * A positive integer indicating the maximum length of a hover text before it is truncated.
120
+ *
121
+ * Default: `500`
122
+ */
123
+ maximumHoverLength?: number | undefined;
124
+ /**
125
+ * Indicates whether accents and other diacritic marks are considered unequal for the purpose of sorting.
126
+ *
127
+ * This preference is ignored if organizeImportsCollation is not `unicode`.
128
+ *
129
+ * Default: `true`
130
+ */
131
+ organizeImportsAccentCollation?: boolean | undefined;
132
+ /**
133
+ * Indicates whether upper case or lower case should sort first.
134
+ *
135
+ * This permission is ignored if:
136
+ * - organizeImportsCollation is not `unicode`
137
+ * - organizeImportsIgnoreCase is `true`
138
+ * - organizeImportsIgnoreCase is `auto` and the auto-detected case sensitivity is case-insensitive.
139
+ *
140
+ * Default: `false`
141
+ */
142
+ organizeImportsCaseFirst?: "default" | "lower" | "upper" | undefined;
143
+ /**
144
+ * Indicates whether imports should be organized via an "ordinal" (binary) comparison using the numeric value of their
145
+ * code points, or via "unicode" natural sorting. This implementation is locale-agnostic and approximates the practical
146
+ * import-sorting behavior rather than the full Unicode Collation Algorithm.
147
+ *
148
+ * Default: Ordinal
149
+ */
150
+ organizeImportsCollation?: "ordinal" | "unicode" | undefined;
151
+ /**
152
+ * Indicates whether imports should be organized in a case-insensitive manner.
153
+ *
154
+ * If unspecified, case sensitivity is detected.
155
+ */
156
+ organizeImportsIgnoreCase?: boolean | undefined;
157
+ /**
158
+ * Indicates the locale to use for "unicode" collation in legacy clients. This is accepted for compatibility, but
159
+ * currently ignored because organize-import sorting is deterministic and locale-agnostic.
160
+ *
161
+ * This preference is ignored if organizeImportsCollation is not `unicode`.
162
+ *
163
+ * Default: `"en"`
164
+ */
165
+ organizeImportsLocale?: string | undefined;
166
+ /**
167
+ * Indicates whether numeric collation should be used for digit sequences in strings. When `true`, will collate
168
+ * strings such that `a1z < a2z < a100z`. When `false`, will collate strings such that `a1z < a100z < a2z`.
169
+ *
170
+ * This preference is ignored if organizeImportsCollation is not `unicode`.
171
+ *
172
+ * Default: `false`
173
+ */
174
+ organizeImportsNumericCollation?: boolean | undefined;
175
+ /**
176
+ * Indicates which deterministic preset should be used to sort imports.
177
+ * "auto" detects the existing ordinal case sensitivity where possible.
178
+ */
179
+ organizeImportsSort?: "auto" | "ordinal" | "ordinalIgnoreCase" | "natural" | "naturalIgnoreCase" | undefined;
180
+ /**
181
+ * Indicates where named type-only imports should sort. "inline" sorts named imports without regard to if the import is type-only.
182
+ *
183
+ * Default: `auto`, which defaults to `last`
184
+ */
185
+ organizeImportsTypeOrder?: "auto" | "last" | "inline" | "first" | undefined;
186
+ preferGoToSourceDefinition?: boolean | undefined;
187
+ preferTypeOnlyAutoImports?: boolean | undefined;
188
+ providePrefixAndSuffixTextForRename?: boolean | undefined;
189
+ provideRefactorNotApplicableReason?: boolean | undefined;
190
+ quotePreference?: "auto" | "double" | "single" | undefined;
191
+ reportStyleChecksAsWarnings?: boolean | undefined;
192
+ validateEnabled?: boolean | undefined;
193
+ workspaceSymbolsScope?: "allOpenProjects" | "currentProject" | undefined;
194
+ }
195
+ //# sourceMappingURL=userPreferences.generated.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"userPreferences.generated.d.ts","sourceRoot":"","sources":["../../src/api/userPreferences.generated.ts"],"names":[],"mappings":"AAEA,MAAM,WAAW,uBAAuB;IACpC,8BAA8B,CAAC,EAAE,OAAO,GAAG,SAAS,CAAC;IACrD,4CAA4C,CAAC,EAAE,OAAO,GAAG,SAAS,CAAC;IACnE,6CAA6C,CAAC,EAAE,OAAO,GAAG,SAAS,CAAC;IACpE,yBAAyB,CAAC,EAAE,OAAO,GAAG,SAAS,CAAC;IAChD,oCAAoC,CAAC,EAAE,OAAO,GAAG,SAAS,CAAC;CAC9D;AAED;;GAEG;AACH,MAAM,WAAW,qBAAqB;IAClC;;;;OAIG;IACH,wCAAwC,CAAC,EAAE,OAAO,GAAG,SA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OASG;IACH,wBAAwB,CAAC,EAAE,SAAS,GAAG,OAAO,GAAG,OAAO,GAAG,SAAS,CAAC;IACrE;;;;;;OAMG;IACH,wBAAwB,CAAC,EAAE,SAAS,GAAG,SAAS,GAAG,SAAS,CAAC;IAC7D;;;;OAIG;IACH,yBAAyB,CAAC,EAAE,OAAO,GAAG,SAAS,CAAC;IAChD;;;;;;;OAOG;IACH,qBAAqB,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC3C;;;;;;;OAOG;IACH,+BAA+B,CAAC,EAAE,OAAO,GAAG,SAAS,CAAC;IACtD;;;OAGG;IACH,mBAAmB,CAAC,EAAE,MAAM,GAAG,SAAS,GAAG,mBAAmB,GAAG,SAAS,GAAG,mBAAmB,GAAG,SAAS,CAAC;IAC7G;;;;OAIG;IACH,wBAAwB,CAAC,EAAE,MAAM,GAAG,MAAM,GAAG,QAAQ,GAAG,OAAO,GAAG,SAAS,CAAC;IAC5E,0BAA0B,CAAC,EAAE,OAAO,GAAG,SAAS,CAAC;IACjD,yBAAyB,CAAC,EAAE,OAAO,GAAG,SAAS,CAAC;IAChD,mCAAmC,CAAC,EAAE,OAAO,GAAG,SAAS,CAAC;IAC1D,kCAAkC,CAAC,EAAE,OAAO,GAAG,SAAS,CAAC;IACzD,eAAe,CAAC,EAAE,MAAM,GAAG,QAAQ,GAAG,QAAQ,GAAG,SAAS,CAAC;IAC3D,2BAA2B,CAAC,EAAE,OAAO,GAAG,SAAS,CAAC;IAClD,eAAe,CAAC,EAAE,OAAO,GAAG,SAAS,CAAC;IACtC,qBAAqB,CAAC,EAAE,iBAAiB,GAAG,gBAAgB,GAAG,SAAS,CAAC;CAC5E"}
@@ -0,0 +1,3 @@
1
+ // Code generated by gen-preferences from tools/userPreferences.schema.json; DO NOT EDIT.
2
+ export {};
3
+ //# sourceMappingURL=userPreferences.generated.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"userPreferences.generated.js","sourceRoot":"","sources":["../../src/api/userPreferences.generated.ts"],"names":[],"mappings":"AAAA,yFAAyF"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "typescript",
3
- "version": "7.1.0-dev.20260930.4",
3
+ "version": "7.1.0-dev.20261001.1",
4
4
  "license": "Apache-2.0",
5
5
  "author": "Microsoft Corp.",
6
6
  "homepage": "https://www.typescriptlang.org/",
@@ -57,18 +57,18 @@
57
57
  },
58
58
  "#vscode-jsonrpc/node": "./vendor/vscode-jsonrpc/lib/node/main.js"
59
59
  },
60
- "gitHead": "9adc871ff47f79b3e99ff2b1cbe9efb140d76af8",
60
+ "gitHead": "edf7da4e93ab65e1f7766deae156c35132c0cde3",
61
61
  "publishConfig": {
62
62
  "access": "public",
63
63
  "tag": "next"
64
64
  },
65
65
  "optionalDependencies": {
66
- "@typescript/typescript-win32-x64": "7.1.0-dev.20260930.4",
67
- "@typescript/typescript-win32-arm64": "7.1.0-dev.20260930.4",
68
- "@typescript/typescript-linux-x64": "7.1.0-dev.20260930.4",
69
- "@typescript/typescript-linux-arm": "7.1.0-dev.20260930.4",
70
- "@typescript/typescript-linux-arm64": "7.1.0-dev.20260930.4",
71
- "@typescript/typescript-darwin-x64": "7.1.0-dev.20260930.4",
72
- "@typescript/typescript-darwin-arm64": "7.1.0-dev.20260930.4"
66
+ "@typescript/typescript-win32-x64": "7.1.0-dev.20261001.1",
67
+ "@typescript/typescript-win32-arm64": "7.1.0-dev.20261001.1",
68
+ "@typescript/typescript-linux-x64": "7.1.0-dev.20261001.1",
69
+ "@typescript/typescript-linux-arm": "7.1.0-dev.20261001.1",
70
+ "@typescript/typescript-linux-arm64": "7.1.0-dev.20261001.1",
71
+ "@typescript/typescript-darwin-x64": "7.1.0-dev.20261001.1",
72
+ "@typescript/typescript-darwin-arm64": "7.1.0-dev.20261001.1"
73
73
  }
74
74
  }