I'm testing svgtofont and I don't quite understand how the TypeScript/Javascript API is supposed to work: according to the type definition, svgtofont is a function that returns Promise<void>.
How am I expected to retrieve the built font if svgtofont doesn't return anything? Is this a bug in the type definition?
I'm testing svgtofont and I don't quite understand how the TypeScript/Javascript API is supposed to work: according to the type definition,
svgtofont
is a function that returnsPromise<void>
.How am I expected to retrieve the built font if
svgtofont
doesn't return anything? Is this a bug in the type definition?