Enforce strict equality through tslint

This commit is contained in:
Jeff Principe
2018-08-22 19:36:40 -07:00
parent 9273e8175e
commit b35fa9576e
6 changed files with 13 additions and 12 deletions
+1 -1
View File
@@ -53,7 +53,7 @@ export default class StaticCharAtlas extends BaseCharAtlas {
y: number
): boolean {
// we're not warmed up yet
if (this._texture == null) {
if (this._texture === null || this._texture === undefined) {
return false;
}