index.js(30,12): error TS2749: 'event' refers to a value, but is being used as a type here. Did you mean 'typeof event'?


==== index.js (1 errors) ====
    // these are recognized as TS concepts by the checker
    /** @type {String} */const a = "";
    /** @type {Number} */const b = 0;
    /** @type {Boolean} */const c = true;
    /** @type {Void} */const d = undefined;
    /** @type {Undefined} */const e = undefined;
    /** @type {Null} */const f = null;
    
    /** @type {Function} */const g = () => void 0;
    /** @type {function} */const h = () => void 0;
    /** @type {array} */const i = [];
    /** @type {promise} */const j = Promise.resolve(0);
    /** @type {Object<string, string>} */const k = {x: "x"};
    
    
    // these are not recognized as anything and should just be lookup failures
    // ignore the errors to try to ensure they're emitted as `any` in declaration emit
    // @ts-ignore
    /** @type {class} */const l = true;
    // @ts-ignore
    /** @type {bool} */const m = true;
    // @ts-ignore
    /** @type {int} */const n = true;
    // @ts-ignore
    /** @type {float} */const o = true;
    // @ts-ignore
    /** @type {integer} */const p = true;
    
    // or, in the case of `event` likely erroneously refers to the type of the global Event object
    /** @type {event} */const q = undefined;
               ~~~~~
!!! error TS2749: 'event' refers to a value, but is being used as a type here. Did you mean 'typeof event'?