google / google/closure-compiler
Missing externs for String and DOMTokenList
- Dominant language
- JavaScript
- Stars
- 7.7k
- Forks
- 1.2k
- Avg merge
- 2d 12h
- Merged PRs (30d)
- 6
Description
/*
* Missing string externs.
* https://github.com/google/closure-compiler/blob/v20190106/externs/es5.js#L47
*/
String.prototype.trimStart = String.prototype.trimLeft;
String.prototype.trimEnd = String.prototype.trimRight;
/*
* Missing DOMTokenList externs.
* https://github.com/google/closure-compiler/blob/v20190106/externs/browser/html5.js#L3292
*/
/** @type {string} */
DOMTokenList.prototype.value;
/**
* @nosideeffects
* @return {!IteratorIterable>}
*/
DOMTokenList.prototype.entries = function () {};
/** @param {function(string, number, !IArrayLike)} callback */
DOMTokenList.prototype.forEach = function (callback) {};
/**
* @nosideeffects
* @return {!IteratorIterable}
*/
DOMTokenList.prototype.keys = function () {};
Contributor guide
Assessment
This issue has not been assessed yet.