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 cfb3b3b commit b5158d7Copy full SHA for b5158d7
index.d.ts
@@ -15,8 +15,5 @@ export namespace Fonts {
15
}
16
17
declare module "figma-linux-rust-binding" {
18
- function getFonts(
19
- dirs: string[],
20
- callback: (fonts: Fonts.IFonts) => void
21
- ): void;
+ function getFonts(dirs: string[]): Promise<Fonts.IFonts>;
22
package.json
@@ -1,6 +1,6 @@
1
{
2
"name": "figma-linux-rust-binding",
3
- "version": "0.2.5",
+ "version": "0.2.6",
4
"description": "Rust module that makes object of meta data of fonts",
5
"main": "native/index.node",
6
"author": "ChugunovRoman <Zebs-BMK@yandex.ru>",
0 commit comments