mirror of
https://github.com/microsoft/TypeScript.git
synced 2026-02-05 16:38:05 -06:00
Make Response.performanceData public (#36595)
This commit is contained in:
parent
8c31700735
commit
2e97918d43
@ -237,11 +237,12 @@ namespace ts.server.protocol {
|
||||
*/
|
||||
metadata?: unknown;
|
||||
|
||||
/* @internal */
|
||||
/**
|
||||
* Exposes information about the performance of this request-response pair.
|
||||
*/
|
||||
performanceData?: PerformanceData;
|
||||
}
|
||||
|
||||
/* @internal */
|
||||
export interface PerformanceData {
|
||||
/**
|
||||
* Time spent updating the program graph, in milliseconds.
|
||||
|
||||
@ -6253,6 +6253,16 @@ declare namespace ts.server.protocol {
|
||||
* Contains extra information that plugin can include to be passed on
|
||||
*/
|
||||
metadata?: unknown;
|
||||
/**
|
||||
* Exposes information about the performance of this request-response pair.
|
||||
*/
|
||||
performanceData?: PerformanceData;
|
||||
}
|
||||
interface PerformanceData {
|
||||
/**
|
||||
* Time spent updating the program graph, in milliseconds.
|
||||
*/
|
||||
updateGraphDurationMs?: number;
|
||||
}
|
||||
/**
|
||||
* Arguments for FileRequest messages.
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user