Continues from PR #4. Relevant changes: 00d032217cb8e610c429d8dd20a1c587dcbf7595 (other commits already included in previous PRs)
If you merge this PR, it will merge all the other PRs.
Summary
adds a tsconfig.json to specify that JSX types should be gotten from solid-js, otherwise the default JSX types in any TypeScript-compatible IDE (such as VS Code) will default to react JSX types which will be slightly incorrect in various cases.
adds a couple types via JSDoc comments in the source
Verify
To test it out, open the source in VS Code, and now when you go to the definition of a JSX element, it will take you to the Solid types.
Continues from PR #4. Relevant changes: 00d032217cb8e610c429d8dd20a1c587dcbf7595 (other commits already included in previous PRs)
If you merge this PR, it will merge all the other PRs.
Summary
tsconfig.json
to specify that JSX types should be gotten fromsolid-js
, otherwise the default JSX types in any TypeScript-compatible IDE (such as VS Code) will default toreact
JSX types which will be slightly incorrect in various cases.Verify
To test it out, open the source in VS Code, and now when you go to the definition of a JSX element, it will take you to the Solid types.