fix font not rendered on init in FF (#1197)

This commit is contained in:
David Luzar 2020-04-03 21:21:40 +02:00 committed by GitHub
parent 96cea9b84b
commit 036978b837
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 23 additions and 0 deletions

6
src/global.d.ts vendored
View file

@ -1,3 +1,9 @@
interface Document {
fonts?: {
ready?: Promise<void>;
};
}
interface Window {
ClipboardItem: any;
}