`linkify-element` 4.0.0-beta.3 missing type for `Options`
See original GitHub issueWhen using linkify-element
4.0.0-beta.3, it seems the bundled type definitions in the package don’t provide a type for the Options
arg of linkifyElementHelper
:
node_modules/linkify-element/index.d.ts:24:67 - error TS2304: Cannot find name 'Options'.
24 declare function linkifyElementHelper(element: HTMLElement, opts: Options, doc: Document): HTMLElement;
Issue Analytics
- State:
- Created 2 years ago
- Comments:5
Top Results From Across the Web
element-web/yarn.lock at develop - GitHub
A glossy Matrix collaboration client for the web. Contribute to vector-im/element-web development by creating an account on GitHub.
Read more >Linkify is a JavaScript plugin for finding links in plain-text and ...
`linkify-element` 4.0.0-beta.3 missing type for `Options`. When using linkify-element 4.0.0-beta.3, it seems the bundled type definitions in ...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Thanks for the quick fix! I can confirm the types are now working well for me with 4.0.0-beta.4.
Hi @jryans and @Pike, thank you both looking into this! I released v4.0.0-beta.4 some type improvements that should address this.