From 0038712474cbc61f36dac10d43c6e7ab48929b4e Mon Sep 17 00:00:00 2001 From: Tobias Bosch Date: Fri, 29 Sep 2017 09:07:14 -0700 Subject: [PATCH] fix(compiler): add typings for `COMPILED`. Note: This commit has to be synced into G3 again. --- packages/goog.d.ts | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/packages/goog.d.ts b/packages/goog.d.ts index 063601d738..69473ca3d3 100644 --- a/packages/goog.d.ts +++ b/packages/goog.d.ts @@ -11,5 +11,14 @@ * Typings for google closure. */ declare namespace goog { + /** + * Note: Don't use this to check for advanced compilation, + * as it is sometimes true. + */ export const DEBUG: boolean; } + +/** + * Use this flag to check for advanced compilation. + */ +declare const COMPILED: boolean;