tslib
tslib copied to clipboard
Issue with css-font-loading-module
Hey, i recently updated my tslib to last version. I use @types/css-font-loading-module on my project as well. The following error started to appear:
Error: node_modules/typescript/lib/lib.dom.d.ts:4256:11 - error TS2430: Interface 'Document' incorrectly extends interface 'FontFaceSource'.
The types of 'fonts.onloading' are incompatible between these types.
Type '((this: FontFaceSet, event: Event) => any) | null' is not assignable to type '((this: FontFaceSet, ev: Event) => any) | null'.
Type '(this: FontFaceSet, event: Event) => any' is not assignable to type '(this: FontFaceSet, ev: Event) => any'.
The 'this' types of each signature are incompatible.
Type 'FontFaceSet' is missing the following properties from type 'FontFaceSet': add, clear, delete, has, and 6 more.