fix incorrect font rendered on late load (#1555)
This commit is contained in:
4
src/global.d.ts
vendored
4
src/global.d.ts
vendored
@ -1,6 +1,10 @@
|
||||
interface Document {
|
||||
fonts?: {
|
||||
ready?: Promise<void>;
|
||||
addEventListener?(
|
||||
type: "loading" | "loadingdone" | "loadingerror",
|
||||
listener: (this: Document, ev: Event) => any,
|
||||
): void;
|
||||
};
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user