yhatt / jsx-slack

Build JSON object for Slack Block Kit surfaces from JSX
https://jsx-slack.netlify.app/
MIT License
467 stars 16 forks source link

Improve compatibility with npm support for Deno #283

Closed yhatt closed 2 years ago

yhatt commented 2 years ago

Deno v1.28 can import jsx-slack from npm directly: npm:jsx-slack@5

For getting better compatibillity with Deno typing, I've fixed type defintion that was not suggested jsx-slack components in LSP correctly. (Import /index explicitly)