Skip to content

Commit 3d7451c

Browse files
Accepted baselines.
1 parent 15445e1 commit 3d7451c

File tree

2 files changed

+8
-0
lines changed

2 files changed

+8
-0
lines changed

tests/baselines/reference/api/tsserverlibrary.d.ts

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff 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;

tests/baselines/reference/api/typescript.d.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff 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" */

0 commit comments

Comments
 (0)