We have the JSHint option for "browser globals" enabled.  Perhaps at one point these types weren't part of that set, but they are now.