Skip to content

Commit

Permalink
add mixin class instance properties to externs
Browse files Browse the repository at this point in the history
  • Loading branch information
dfreedm committed Jul 31, 2017
1 parent ffcd985 commit 34d22ac
Show file tree
Hide file tree
Showing 2 changed files with 94 additions and 1 deletion.
93 changes: 93 additions & 0 deletions externs/closure-types.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,39 @@
* @interface
*/
function Polymer_PropertyAccessors(){}
/** @type {boolean} */
Polymer_PropertyAccessors.prototype.__serializing;

/** @type {number} */
Polymer_PropertyAccessors.prototype.__dataCounter;

/** @type {boolean} */
Polymer_PropertyAccessors.prototype.__dataEnabled;

/** @type {boolean} */
Polymer_PropertyAccessors.prototype.__dataReady;

/** @type {boolean} */
Polymer_PropertyAccessors.prototype.__dataInvalid;

/** @type {!Object} */
Polymer_PropertyAccessors.prototype.__data;

/** @type {Object} */
Polymer_PropertyAccessors.prototype.__dataPending;

/** @type {Object} */
Polymer_PropertyAccessors.prototype.__dataOld;

/** @type {Object} */
Polymer_PropertyAccessors.prototype.__dataProto;

/** @type {Object} */
Polymer_PropertyAccessors.prototype.__dataHasAccessor;

/** @type {Object} */
Polymer_PropertyAccessors.prototype.__dataInstanceProps;

/**
* @param {string} name Name of attribute that changed
* @param {?string} old Old attribute value
Expand Down Expand Up @@ -216,6 +249,66 @@ Polymer_TemplateStamp._contentForTemplate = function(template){};
* @extends {Polymer_PropertyAccessors}
*/
function Polymer_PropertyEffects(){}
/** @type {number} */
Polymer_PropertyEffects.prototype.__dataCounter;

/** @type {!Object} */
Polymer_PropertyEffects.prototype.__data;

/** @type {!Object} */
Polymer_PropertyEffects.prototype.__dataPending;

/** @type {!Object} */
Polymer_PropertyEffects.prototype.__dataOld;

/** @type {boolean} */
Polymer_PropertyEffects.prototype.__dataClientsReady;

/** @type {Array} */
Polymer_PropertyEffects.prototype.__dataPendingClients;

/** @type {Object} */
Polymer_PropertyEffects.prototype.__dataToNotify;

/** @type {Object} */
Polymer_PropertyEffects.prototype.__dataLinkedPaths;

/** @type {boolean} */
Polymer_PropertyEffects.prototype.__dataHasPaths;

/** @type {Object} */
Polymer_PropertyEffects.prototype.__dataCompoundStorage;

/** @type {Polymer_PropertyEffects} */
Polymer_PropertyEffects.prototype.__dataHost;

/** @type {!Object} */
Polymer_PropertyEffects.prototype.__dataTemp;

/** @type {boolean} */
Polymer_PropertyEffects.prototype.__dataClientsInitialized;

/** @type {Object} */
Polymer_PropertyEffects.prototype.__computeEffects;

/** @type {Object} */
Polymer_PropertyEffects.prototype.__reflectEffects;

/** @type {Object} */
Polymer_PropertyEffects.prototype.__notifyEffects;

/** @type {Object} */
Polymer_PropertyEffects.prototype.__propagateEffects;

/** @type {Object} */
Polymer_PropertyEffects.prototype.__observeEffects;

/** @type {Object} */
Polymer_PropertyEffects.prototype.__readOnly;

/** @type {!TemplateInfo} */
Polymer_PropertyEffects.prototype.__templateInfo;

/**
* @override
* @param {!HTMLTemplateElement} template Template to stamp
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
"test": "test"
},
"devDependencies": {
"@polymer/gen-closure-declarations": "^0.1.0",
"@polymer/gen-closure-declarations": "^0.2.0",
"@webcomponents/shadycss": "^1.0.0",
"@webcomponents/webcomponentsjs": "^1.0.2",
"babel-preset-babili": "^0.1.4",
Expand Down

0 comments on commit 34d22ac

Please sign in to comment.