Closed MichaelDeBoey closed 3 years ago
I believe it is https://github.com/DefinitelyTyped/DefinitelyTyped/pull/54181.
@MichaelDeBoey Yep, it'd be DefinitelyTyped/DefinitelyTyped#54181. The errors you're seeing mean that there are places in the code that are trying to use properties that are not guaranteed (by the types) to exist. I'd recommend extending the Node
interface if you have particular properties that crop up again and again (e.g., the url
).
I would recommend using @types/mdast
to type the nodes found in markdown. @types/unist
is rather abstract, @types/mdast
has the types you’re looking for.
:tada: This issue has been resolved in version 1.4.1 :tada:
The release is available on:
Your semantic-release bot :package::rocket:
Due to https://github.com/DefinitelyTyped/DefinitelyTyped/pull/54413, CI is now failing with
@wooorm Can you point me into the right direction of fixing this please? I don't have a clue tbh. 🤔