Skip to content

Commit

Permalink
update TS to NodeNext
Browse files Browse the repository at this point in the history
  • Loading branch information
ryansolid committed Sep 24, 2024
1 parent 80b0958 commit 51bec61
Show file tree
Hide file tree
Showing 7 changed files with 16 additions and 10 deletions.
5 changes: 5 additions & 0 deletions .changeset/twenty-schools-pretend.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"solid-js": patch
---

update TS to NodeNext
4 changes: 2 additions & 2 deletions packages/solid/h/jsx-runtime/src/index.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import h from "solid-js/h";
export type { JSX } from "./jsx";
import type { JSX } from "./jsx";
export type { JSX } from "./jsx.d.ts";
import type { JSX } from "./jsx.d.ts";

function Fragment(props: { children: JSX.Element }) {
return props.children;
Expand Down
4 changes: 2 additions & 2 deletions packages/solid/h/src/index.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { createHyperScript } from "./hyperscript";
import type { HyperScript } from "./hyperscript";
import { createHyperScript } from "./hyperscript.js";
import type { HyperScript } from "./hyperscript.js";
import {
spread,
assign,
Expand Down
4 changes: 2 additions & 2 deletions packages/solid/html/src/index.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { createHTML } from "./lit";
import type { HTMLTag } from "./lit";
import { createHTML } from "./lit.js";
import type { HTMLTag } from "./lit.js";
import {
effect,
style,
Expand Down
2 changes: 1 addition & 1 deletion packages/solid/universal/src/universal.ts
Original file line number Diff line number Diff line change
@@ -1 +1 @@
export * from "dom-expressions/src/universal";
export * from "dom-expressions/src/universal.js";
2 changes: 1 addition & 1 deletion packages/solid/web/src/client.ts
Original file line number Diff line number Diff line change
@@ -1 +1 @@
export * from "dom-expressions/src/client";
export * from "dom-expressions/src/client.js";
5 changes: 3 additions & 2 deletions tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,10 @@
"compilerOptions": {
"emitDeclarationOnly": true,
"declaration": true,
"target": "esnext",
"target": "ESNext",
"newLine": "LF",
"moduleResolution": "node",
"module": "NodeNext",
"moduleResolution": "NodeNext",
"strict": true,
"jsx": "preserve"
},
Expand Down

0 comments on commit 51bec61

Please sign in to comment.