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 {
31713171 readonly disableSuggestions ?: boolean ;
31723172 readonly quotePreference ?: "auto" | "double" | "single" ;
31733173 readonly includeCompletionsForModuleExports ?: boolean ;
3174+ readonly includeAutomaticOptionalChainCompletions ?: boolean ;
31743175 readonly includeCompletionsWithInsertText ?: boolean ;
31753176 readonly importModuleSpecifierPreference ?: "relative" | "non-relative" ;
31763177 /** Determines whether we import `foo/index.ts` as "foo", "foo/index", or "foo/index.js" */
@@ -8295,6 +8296,12 @@ declare namespace ts.server.protocol {
82958296 * For those entries, The `insertText` and `replacementSpan` properties will be set to change from `.x` property access to `["x"]`.
82968297 */
82978298 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 ;
82988305 readonly importModuleSpecifierPreference ?: "relative" | "non-relative" ;
82998306 readonly allowTextChangesInNewFiles ?: boolean ;
83008307 readonly lazyConfiguredProjectsFromExternalProject ?: boolean ;
Original file line number Diff line number Diff line change @@ -3171,6 +3171,7 @@ declare namespace ts {
31713171 readonly disableSuggestions ?: boolean ;
31723172 readonly quotePreference ?: "auto" | "double" | "single" ;
31733173 readonly includeCompletionsForModuleExports ?: boolean ;
3174+ readonly includeAutomaticOptionalChainCompletions ?: boolean ;
31743175 readonly includeCompletionsWithInsertText ?: boolean ;
31753176 readonly importModuleSpecifierPreference ?: "relative" | "non-relative" ;
31763177 /** 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