mirror of
https://github.com/microsoft/TypeScript.git
synced 2026-05-19 10:41:56 -05:00
Add tests for projectinfo command
This commit is contained in:
16
src/server/protocol.d.ts
vendored
16
src/server/protocol.d.ts
vendored
@@ -90,25 +90,29 @@ declare module ts.server.protocol {
|
||||
/**
|
||||
* Arguments for ProjectInfoResponse messages.
|
||||
*/
|
||||
export interface ProjectInfoRequestArgs {
|
||||
/**
|
||||
* The file for the request (absolute pathname required).
|
||||
*/
|
||||
file: string;
|
||||
export interface ProjectInfoRequestArgs extends FileRequestArgs {
|
||||
/**
|
||||
* Indicate if the file name list of the project is needed
|
||||
*/
|
||||
needFileNameList: boolean;
|
||||
}
|
||||
|
||||
export interface ProjectInfoRequest extends Request {
|
||||
arguments: ProjectInfoRequestArgs
|
||||
}
|
||||
|
||||
/**
|
||||
* Response message for "projectInfo" request
|
||||
*/
|
||||
export interface ProjectInfoResponse {
|
||||
export interface ProjectInfo {
|
||||
configFileName: string;
|
||||
fileNameList?: string[];
|
||||
}
|
||||
|
||||
export interface ProjectInfoResponse extends Response {
|
||||
body?: ProjectInfo;
|
||||
}
|
||||
|
||||
/**
|
||||
* Request whose sole parameter is a file name.
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user