Uncaught TypeError: el.addEventListener is not a function
at addEventListener (index.js:4469:6)
at platform.ts:162:11
at platform.ts:184:46
at s._invokeFactory (loader.js:1189:41)
at s.complete (loader.js:1199:36)
at s._onModuleComplete (loader.js:1825:20)
at s._resolve (loader.js:1785:22)
at s.defineModule (loader.js:1428:18)
at g (loader.js:1875:27)
at numbers.ts:26:1
Points to this:
function addEventListener(el, event, handler, options) {
el.addEventListener(event, handler, options);
}
Uncaught TypeError: el.addEventListener is not a function at addEventListener (index.js:4469:6) at platform.ts:162:11 at platform.ts:184:46 at s._invokeFactory (loader.js:1189:41) at s.complete (loader.js:1199:36) at s._onModuleComplete (loader.js:1825:20) at s._resolve (loader.js:1785:22) at s.defineModule (loader.js:1428:18) at g (loader.js:1875:27) at numbers.ts:26:1
Points to this: function addEventListener(el, event, handler, options) { el.addEventListener(event, handler, options); }