We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d19a654 commit 36d1d89Copy full SHA for 36d1d89
index.d.ts
@@ -0,0 +1,19 @@
1
+export namespace Fonts {
2
+ interface IFontsFigmaItem {
3
+ postscript: string;
4
+ family: string;
5
+ id: string;
6
+ style?: string;
7
+ weight?: number;
8
+ stretch?: number;
9
+ italic?: boolean;
10
+ }
11
+
12
+ interface IFonts {
13
+ [path: string]: Array<IFontsFigmaItem>
14
15
+}
16
17
+declare module 'figma-linux-rust-binding' {
18
+ function getFonts(dirs: string[], callback: (err: Error, fonts: Fonts.IFonts) => void): void;
19
0 commit comments