Skip to content

Commit 591fbc2

Browse files
Andysandersn
Andy
authored andcommitted
Copy allowTextChangesInNewFiles property to protocol.ts (#24127)
1 parent 7b06658 commit 591fbc2

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

src/server/protocol.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2682,6 +2682,7 @@ namespace ts.server.protocol {
26822682
*/
26832683
readonly includeCompletionsWithInsertText?: boolean;
26842684
readonly importModuleSpecifierPreference?: "relative" | "non-relative";
2685+
readonly allowTextChangesInNewFiles?: boolean;
26852686
}
26862687

26872688
export interface CompilerOptions {

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7596,6 +7596,7 @@ declare namespace ts.server.protocol {
75967596
*/
75977597
readonly includeCompletionsWithInsertText?: boolean;
75987598
readonly importModuleSpecifierPreference?: "relative" | "non-relative";
7599+
readonly allowTextChangesInNewFiles?: boolean;
75997600
}
76007601
interface CompilerOptions {
76017602
allowJs?: boolean;

0 commit comments

Comments
 (0)