mirror of
https://github.com/pagefaultgames/pokerogue.git
synced 2025-08-07 07:59:26 +02:00
* Standardize filenames to kebab-case Co-authored-by: pymilkmaiden <cassiopeiamahler56@gmail.com> * Move script outside of public folder * Move update_exp_sprites to scripts * Add ls-lint to lint file and directory names * Update lefthook.yml to skip merge / rebase on all pre-commit commands --------- Co-authored-by: pymilkmaiden <cassiopeiamahler56@gmail.com>
18 lines
356 B
TypeScript
18 lines
356 B
TypeScript
class FontFaceMock {
|
|
family: string;
|
|
source: string;
|
|
descriptors: any;
|
|
|
|
constructor(family: string, source: string, descriptors?: any) {
|
|
this.family = family;
|
|
this.source = source;
|
|
this.descriptors = descriptors;
|
|
}
|
|
|
|
load(): Promise<FontFaceMock> {
|
|
return Promise.resolve(this);
|
|
}
|
|
}
|
|
|
|
globalThis.FontFace = FontFaceMock as any;
|