mirror of
https://github.com/microsoft/TypeScript.git
synced 2026-02-07 23:08:20 -06:00
* update protocol * fix lint error Co-authored-by: Jesse Trinity <jesse.trinity@microsoft.com>
This commit is contained in:
parent
fee3bfbe91
commit
e9d8ccb8b6
@ -617,6 +617,12 @@ namespace ts.server.protocol {
|
||||
* so this description should make sense by itself if the parent is inlineable=true
|
||||
*/
|
||||
description: string;
|
||||
|
||||
/**
|
||||
* A message to show to the user if the refactoring cannot be applied in
|
||||
* the current context.
|
||||
*/
|
||||
notApplicableReason?: string;
|
||||
}
|
||||
|
||||
export interface GetEditsForRefactorRequest extends Request {
|
||||
@ -3217,6 +3223,7 @@ namespace ts.server.protocol {
|
||||
readonly allowTextChangesInNewFiles?: boolean;
|
||||
readonly lazyConfiguredProjectsFromExternalProject?: boolean;
|
||||
readonly providePrefixAndSuffixTextForRename?: boolean;
|
||||
readonly provideRefactorNotApplicableReason?: boolean;
|
||||
readonly allowRenameOfImportPath?: boolean;
|
||||
readonly includePackageJsonAutoImports?: "auto" | "on" | "off";
|
||||
}
|
||||
|
||||
@ -6881,6 +6881,11 @@ declare namespace ts.server.protocol {
|
||||
* so this description should make sense by itself if the parent is inlineable=true
|
||||
*/
|
||||
description: string;
|
||||
/**
|
||||
* A message to show to the user if the refactoring cannot be applied in
|
||||
* the current context.
|
||||
*/
|
||||
notApplicableReason?: string;
|
||||
}
|
||||
interface GetEditsForRefactorRequest extends Request {
|
||||
command: CommandTypes.GetEditsForRefactor;
|
||||
@ -8902,6 +8907,7 @@ declare namespace ts.server.protocol {
|
||||
readonly allowTextChangesInNewFiles?: boolean;
|
||||
readonly lazyConfiguredProjectsFromExternalProject?: boolean;
|
||||
readonly providePrefixAndSuffixTextForRename?: boolean;
|
||||
readonly provideRefactorNotApplicableReason?: boolean;
|
||||
readonly allowRenameOfImportPath?: boolean;
|
||||
readonly includePackageJsonAutoImports?: "auto" | "on" | "off";
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user