elk/opengraph-io.d.ts
2022-12-12 16:27:33 +01:00

21 lines
No EOL
521 B
TypeScript

// TODO @Shinigami92 2022-12-12: @Shinigami92 might add @types/opengraph-io to DefinitelyTyped
// Or directly to the repo
declare module 'opengraph-io' {
function opengraph(options: {
appId: string
fullRender?: boolean
}): {
getSiteInfo(url: string): Promise<{
hybridGraph: {
image: string
},
openGraph: {
image: {
url: string
}
}
}>
}
export = opengraph
}