File tree Expand file tree Collapse file tree 2 files changed +8
-0
lines changed
tests/baselines/reference/api Expand file tree Collapse file tree 2 files changed +8
-0
lines changed Original file line number Diff line number Diff line change @@ -3171,6 +3171,7 @@ declare namespace ts {
3171
3171
readonly disableSuggestions ?: boolean ;
3172
3172
readonly quotePreference ?: "auto" | "double" | "single" ;
3173
3173
readonly includeCompletionsForModuleExports ?: boolean ;
3174
+ readonly includeAutomaticOptionalChainCompletions ?: boolean ;
3174
3175
readonly includeCompletionsWithInsertText ?: boolean ;
3175
3176
readonly importModuleSpecifierPreference ?: "relative" | "non-relative" ;
3176
3177
/** Determines whether we import `foo/index.ts` as "foo", "foo/index", or "foo/index.js" */
@@ -8295,6 +8296,12 @@ declare namespace ts.server.protocol {
8295
8296
* For those entries, The `insertText` and `replacementSpan` properties will be set to change from `.x` property access to `["x"]`.
8296
8297
*/
8297
8298
readonly includeCompletionsWithInsertText ?: boolean ;
8299
+ /**
8300
+ * Unless this option is disabled, or `includeCompletionsWithInsertText` is not enabled,
8301
+ * member completion lists triggered with `.` will include entries on potentially-null and potentially-undefined
8302
+ * values, with insertion text to replace preceding `.` tokens with `?.`.
8303
+ */
8304
+ readonly includeAutomaticOptionalChainCompletions ?: boolean ;
8298
8305
readonly importModuleSpecifierPreference ?: "relative" | "non-relative" ;
8299
8306
readonly allowTextChangesInNewFiles ?: boolean ;
8300
8307
readonly lazyConfiguredProjectsFromExternalProject ?: boolean ;
Original file line number Diff line number Diff line change @@ -3171,6 +3171,7 @@ declare namespace ts {
3171
3171
readonly disableSuggestions ?: boolean ;
3172
3172
readonly quotePreference ?: "auto" | "double" | "single" ;
3173
3173
readonly includeCompletionsForModuleExports ?: boolean ;
3174
+ readonly includeAutomaticOptionalChainCompletions ?: boolean ;
3174
3175
readonly includeCompletionsWithInsertText ?: boolean ;
3175
3176
readonly importModuleSpecifierPreference ?: "relative" | "non-relative" ;
3176
3177
/** Determines whether we import `foo/index.ts` as "foo", "foo/index", or "foo/index.js" */
You can’t perform that action at this time.
0 commit comments