Closed ajmas closed 6 months ago
Thanks for catching that. Strangely my editor didn't say anything, nor did the Typescript/ Parcel compiler i added to /example-typescript dir either. Sorry for the oversight.
New version 3.5.6 has the bugfix. https://www.npmjs.com/package/url-metadata
I just got the latest version of
url-metadata
and tried the following codeVSCode is telling me
Argument of type 'null' is not assignable to parameter of type 'string'
. For now I can work around this by usingnull as any
, but it isn't ideal.One way of addressing this is with:
The may be some way of indicating
null
is only permitted whenparseResponseObject
is provided, but I'd have to explore, since my TS knowledge doesn't go that deep.