mirror of
https://github.com/microsoft/TypeScript.git
synced 2025-11-18 17:21:48 +00:00
Make Response.performanceData public (#36595)
This commit is contained in:
1 parent
8c31700735
commit
2e97918d43
2 files changed
+13
-2
No files matched your search
@@ -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.
|
||||
|
||||
Reference in new issue
Block a user