Skip to content

Commit

Permalink
add node about importing solid-js types or JSX types don't work
Browse files Browse the repository at this point in the history
  • Loading branch information
trusktr committed Apr 28, 2024
1 parent deb5c96 commit 2e3578d
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/attribute-types.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// I'm not sure why, but commenting this line out breaks all Solid JSX type
// checking because all JSX types disappear except for the one from this file
// (at time of writing).
import type {} from 'solid-js'

declare module 'solid-js' {
Expand Down

0 comments on commit 2e3578d

Please sign in to comment.