From 1d8fc394945fb4447cec23fbfc61fc8961126b7a Mon Sep 17 00:00:00 2001 From: Kitson Kelly Date: Wed, 24 Jun 2020 19:58:23 +1000 Subject: Add ability to output compiler performance information (#6434) --- cli/js/ts_global.d.ts | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'cli/js/ts_global.d.ts') diff --git a/cli/js/ts_global.d.ts b/cli/js/ts_global.d.ts index bca602998..dcdf4a3e4 100644 --- a/cli/js/ts_global.d.ts +++ b/cli/js/ts_global.d.ts @@ -24,5 +24,10 @@ declare global { // there is a risk these could change in future versions of TypeScript export const libs: string[]; export const libMap: Map; + export const performance: { + enable(): void; + disable(): void; + getDuration(value: string): number; + }; } } -- cgit v1.2.3