From cf2cd05e73eff2bd30ed25bc24fffc08cccbe8af Mon Sep 17 00:00:00 2001 From: Peter Burns Date: Wed, 19 Dec 2018 16:15:06 -0800 Subject: [PATCH] Suppress upcoming jscompiler errors. These errors don't exist yet, but we need to suppress them in the files that will have them so that we're not broken when they're turned on. --- gulpfile.js | 1 + lib/mixins/dir-mixin.js | 1 + lib/mixins/disable-upgrade-mixin.js | 1 + lib/mixins/element-mixin.js | 1 + lib/mixins/property-effects.js | 1 + 5 files changed, 5 insertions(+) diff --git a/gulpfile.js b/gulpfile.js index 047db161bc..d4abadcf4f 100644 --- a/gulpfile.js +++ b/gulpfile.js @@ -70,6 +70,7 @@ const header = `/** * @fileoverview Generated typings for Polymer mixins * @externs + * @suppress {checkPrototypalTypes} * * @license * Copyright (c) 2017 The Polymer Project Authors. All rights reserved. diff --git a/lib/mixins/dir-mixin.js b/lib/mixins/dir-mixin.js index bbacb2cdb8..6b458e11a8 100644 --- a/lib/mixins/dir-mixin.js +++ b/lib/mixins/dir-mixin.js @@ -1,4 +1,5 @@ /** + * @suppress {checkPrototypalTypes} @license Copyright (c) 2017 The Polymer Project Authors. All rights reserved. This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt diff --git a/lib/mixins/disable-upgrade-mixin.js b/lib/mixins/disable-upgrade-mixin.js index b7f46486e2..7d4d73404f 100644 --- a/lib/mixins/disable-upgrade-mixin.js +++ b/lib/mixins/disable-upgrade-mixin.js @@ -1,4 +1,5 @@ /** + * @suppress {checkPrototypalTypes} @license Copyright (c) 2017 The Polymer Project Authors. All rights reserved. This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt diff --git a/lib/mixins/element-mixin.js b/lib/mixins/element-mixin.js index d33653b0d7..5c8d4e0311 100644 --- a/lib/mixins/element-mixin.js +++ b/lib/mixins/element-mixin.js @@ -1,4 +1,5 @@ /** + * @suppress {checkPrototypalTypes} @license Copyright (c) 2017 The Polymer Project Authors. All rights reserved. This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt diff --git a/lib/mixins/property-effects.js b/lib/mixins/property-effects.js index ac85472154..c3ae4ed385 100644 --- a/lib/mixins/property-effects.js +++ b/lib/mixins/property-effects.js @@ -1,4 +1,5 @@ /** + * @suppress {checkPrototypalTypes} @license Copyright (c) 2017 The Polymer Project Authors. All rights reserved. This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt