Open devth opened 3 months ago
It'd be useful if users could import the Metadata type. Looks like it's not currently exported, unless I'm missing something?
Metadata
+1. As a workaround you can infer the type from the unfurl method using types from Typescript 4.5: export type Metadata = Awaited<ReturnType<typeof unfurl>>
unfurl
export type Metadata = Awaited<ReturnType<typeof unfurl>>
Nice, thanks @0xTemporal
It'd be useful if users could import the
Metadata
type. Looks like it's not currently exported, unless I'm missing something?