All files / Scripts framework7.ts

0% Statements 0/2
100% Branches 0/0
100% Functions 0/0
0% Lines 0/2

Press n or j to go to the next uncovered block, b, p or k for the previous block.

1 2 3 4 5 6 7 8 9 10                   
import "framework7";
// Framework7 currently has full support for ES modules
// However, we're using an old version of Framework7 which does not export
// It instead adds Framework7 to window as a side effect
// So we do a naked import and then export it from here so the rest of our code can treat
// it as a regular module.
// @ts-expect-error Framework doesn't exist, but it does - just do it
// eslint-disable-next-line @typescript-eslint/naming-convention
export const Framework7 = window.Framework7;