mirror of
https://github.com/microsoft/TypeScript.git
synced 2025-11-18 17:21:48 +00:00
Update APIs
This commit is contained in:
+12
-2
@@ -3098,7 +3098,6 @@ declare namespace ts {
|
||||
export interface UserPreferences {
|
||||
readonly disableSuggestions?: boolean;
|
||||
readonly quotePreference?: "auto" | "double" | "single";
|
||||
readonly semicolonPreference?: "auto" | "semicolons" | "no semicolons";
|
||||
readonly includeCompletionsForModuleExports?: boolean;
|
||||
readonly includeCompletionsWithInsertText?: boolean;
|
||||
readonly importModuleSpecifierPreference?: "relative" | "non-relative";
|
||||
@@ -5254,6 +5253,11 @@ declare namespace ts {
|
||||
Block = 1,
|
||||
Smart = 2
|
||||
}
|
||||
enum SemicolonPreference {
|
||||
Ignore = "ignore",
|
||||
Insert = "insert",
|
||||
Remove = "remove"
|
||||
}
|
||||
interface EditorOptions {
|
||||
BaseIndentSize?: number;
|
||||
IndentSize: number;
|
||||
@@ -5306,7 +5310,7 @@ declare namespace ts {
|
||||
readonly placeOpenBraceOnNewLineForControlBlocks?: boolean;
|
||||
readonly insertSpaceBeforeTypeAnnotation?: boolean;
|
||||
readonly indentMultiLineObjectLiteralBeginningOnBlankLine?: boolean;
|
||||
readonly insertTrailingSemicolon?: boolean;
|
||||
readonly semicolons?: SemicolonPreference;
|
||||
}
|
||||
function getDefaultFormatCodeSettings(newLineCharacter?: string): FormatCodeSettings;
|
||||
interface DefinitionInfo extends DocumentSpan {
|
||||
@@ -8154,6 +8158,11 @@ declare namespace ts.server.protocol {
|
||||
Block = "Block",
|
||||
Smart = "Smart"
|
||||
}
|
||||
enum SemicolonPreference {
|
||||
Ignore = "ignore",
|
||||
Insert = "insert",
|
||||
Remove = "remove"
|
||||
}
|
||||
interface EditorSettings {
|
||||
baseIndentSize?: number;
|
||||
indentSize?: number;
|
||||
@@ -8179,6 +8188,7 @@ declare namespace ts.server.protocol {
|
||||
placeOpenBraceOnNewLineForFunctions?: boolean;
|
||||
placeOpenBraceOnNewLineForControlBlocks?: boolean;
|
||||
insertSpaceBeforeTypeAnnotation?: boolean;
|
||||
semicolons?: SemicolonPreference;
|
||||
}
|
||||
interface UserPreferences {
|
||||
readonly disableSuggestions?: boolean;
|
||||
|
||||
+6
-2
@@ -3098,7 +3098,6 @@ declare namespace ts {
|
||||
export interface UserPreferences {
|
||||
readonly disableSuggestions?: boolean;
|
||||
readonly quotePreference?: "auto" | "double" | "single";
|
||||
readonly semicolonPreference?: "auto" | "semicolons" | "no semicolons";
|
||||
readonly includeCompletionsForModuleExports?: boolean;
|
||||
readonly includeCompletionsWithInsertText?: boolean;
|
||||
readonly importModuleSpecifierPreference?: "relative" | "non-relative";
|
||||
@@ -5254,6 +5253,11 @@ declare namespace ts {
|
||||
Block = 1,
|
||||
Smart = 2
|
||||
}
|
||||
enum SemicolonPreference {
|
||||
Ignore = "ignore",
|
||||
Insert = "insert",
|
||||
Remove = "remove"
|
||||
}
|
||||
interface EditorOptions {
|
||||
BaseIndentSize?: number;
|
||||
IndentSize: number;
|
||||
@@ -5306,7 +5310,7 @@ declare namespace ts {
|
||||
readonly placeOpenBraceOnNewLineForControlBlocks?: boolean;
|
||||
readonly insertSpaceBeforeTypeAnnotation?: boolean;
|
||||
readonly indentMultiLineObjectLiteralBeginningOnBlankLine?: boolean;
|
||||
readonly insertTrailingSemicolon?: boolean;
|
||||
readonly semicolons?: SemicolonPreference;
|
||||
}
|
||||
function getDefaultFormatCodeSettings(newLineCharacter?: string): FormatCodeSettings;
|
||||
interface DefinitionInfo extends DocumentSpan {
|
||||
|
||||
Reference in New Issue
Block a user