Skip to content

Commit 7e515af

Browse files
author
Andy
authored
Copy allowTextChangesInNewFiles property to protocol.ts (#24127)
1 parent e1f22ac commit 7e515af

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
@@ -7579,6 +7579,7 @@ declare namespace ts.server.protocol {
75797579
*/
75807580
readonly includeCompletionsWithInsertText?: boolean;
75817581
readonly importModuleSpecifierPreference?: "relative" | "non-relative";
7582+
readonly allowTextChangesInNewFiles?: boolean;
75827583
}
75837584
interface CompilerOptions {
75847585
allowJs?: boolean;

0 commit comments

Comments
 (0)