Skip to content

Commit 51bec61

Browse files
committed
update TS to NodeNext
1 parent 80b0958 commit 51bec61

File tree

7 files changed

+16
-10
lines changed

7 files changed

+16
-10
lines changed
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"solid-js": patch
3+
---
4+
5+
update TS to NodeNext

packages/solid/h/jsx-runtime/src/index.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import h from "solid-js/h";
2-
export type { JSX } from "./jsx";
3-
import type { JSX } from "./jsx";
2+
export type { JSX } from "./jsx.d.ts";
3+
import type { JSX } from "./jsx.d.ts";
44

55
function Fragment(props: { children: JSX.Element }) {
66
return props.children;

packages/solid/h/src/index.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
import { createHyperScript } from "./hyperscript";
2-
import type { HyperScript } from "./hyperscript";
1+
import { createHyperScript } from "./hyperscript.js";
2+
import type { HyperScript } from "./hyperscript.js";
33
import {
44
spread,
55
assign,

packages/solid/html/src/index.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
import { createHTML } from "./lit";
2-
import type { HTMLTag } from "./lit";
1+
import { createHTML } from "./lit.js";
2+
import type { HTMLTag } from "./lit.js";
33
import {
44
effect,
55
style,
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
export * from "dom-expressions/src/universal";
1+
export * from "dom-expressions/src/universal.js";

packages/solid/web/src/client.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
export * from "dom-expressions/src/client";
1+
export * from "dom-expressions/src/client.js";

tsconfig.json

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,10 @@
22
"compilerOptions": {
33
"emitDeclarationOnly": true,
44
"declaration": true,
5-
"target": "esnext",
5+
"target": "ESNext",
66
"newLine": "LF",
7-
"moduleResolution": "node",
7+
"module": "NodeNext",
8+
"moduleResolution": "NodeNext",
89
"strict": true,
910
"jsx": "preserve"
1011
},

0 commit comments

Comments
 (0)