Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
use() {
this._refs = this._refs + 1;
if (this._disposeTimer !== null) {
clearTimeout(this._disposeTimer);
this._disposeTimer = null;
}
if (this._remove === null) {
this._remove = addStyleToDOM([[this.uid, this.css]]);
}
return this;
}
injectStylesheet(compiledStylesheet: Array<[string, string]>): void {
if (Environment.canInject) {
injectStylesheet(compiledStylesheet);
}
}
}