diff options
author | Kitson Kelly <me@kitsonkelly.com> | 2020-06-24 19:58:23 +1000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-06-24 11:58:23 +0200 |
commit | 1d8fc394945fb4447cec23fbfc61fc8961126b7a (patch) | |
tree | 8969445c4862c3944882f426ed94ab8062129f46 /cli/js/ts_global.d.ts | |
parent | f6a41469730e8dcd0995d3e5dd370b9410c65ba4 (diff) |
Add ability to output compiler performance information (#6434)
Diffstat (limited to 'cli/js/ts_global.d.ts')
-rw-r--r-- | cli/js/ts_global.d.ts | 5 |
1 files changed, 5 insertions, 0 deletions
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<string, string>; + export const performance: { + enable(): void; + disable(): void; + getDuration(value: string): number; + }; } } |