Skip to content

Commit c103a8a

Browse files
committed
chore: update typescript
1 parent 5d16348 commit c103a8a

File tree

10 files changed

+124
-134
lines changed

10 files changed

+124
-134
lines changed

package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -156,7 +156,7 @@
156156
"tmp": "0.2.3",
157157
"tree-kill": "1.2.2",
158158
"tsm": "2.3.0",
159-
"typescript": "5.4.5",
159+
"typescript": "5.6.2",
160160
"undici": "*",
161161
"vfile": "6.0.1",
162162
"vite": "5.4.4",
@@ -177,7 +177,7 @@
177177
"packageManager": "pnpm@9.0.5",
178178
"pnpm": {
179179
"overrides": {
180-
"typescript": "5.4.5",
180+
"typescript": "5.6.2",
181181
"vfile": "6.0.1",
182182
"@supabase/realtime-js": "2.8.4"
183183
},

packages/docs/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@
5050
"tailwindcss": "3.4.6",
5151
"terser": "5.32.0",
5252
"tsm": "2.3.0",
53-
"typescript": "5.4.5",
53+
"typescript": "5.6.2",
5454
"undici": "*",
5555
"valibot": "0.33.3",
5656
"vite": "5.4.4",

packages/insights/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@
3333
"prettier": "3.3.3",
3434
"prettier-plugin-tailwindcss": "0.5.14",
3535
"tailwindcss": "3.4.6",
36-
"typescript": "5.4.5",
36+
"typescript": "5.6.2",
3737
"undici": "*",
3838
"vite": "5.4.4",
3939
"vite-tsconfig-paths": "4.3.2",

packages/qwik-city/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@
3636
"remark-gfm": "4.0.0",
3737
"set-cookie-parser": "2.6.0",
3838
"tsm": "2.3.0",
39-
"typescript": "5.4.5",
39+
"typescript": "5.6.2",
4040
"unified": "11.0.5",
4141
"unist-util-visit": "5.0.0",
4242
"uvu": "0.5.6",

packages/qwik-labs/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
"eslint-plugin-qwik": "workspace:^",
1313
"np": "10.0.7",
1414
"prettier": "3.3.3",
15-
"typescript": "5.4.5",
15+
"typescript": "5.6.2",
1616
"undici": "*",
1717
"vite": "5.4.4",
1818
"zod": "3.22.4"

packages/qwik-react/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
"@types/react-dom": "18.3.0",
1010
"react": "18.3.1",
1111
"react-dom": "18.3.1",
12-
"typescript": "5.4.5",
12+
"typescript": "5.6.2",
1313
"vite": "5.4.4"
1414
},
1515
"engines": {

packages/qwik/src/core/qrl/qrl.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ import { mapJoin } from '../container/pause';
2424
import { throwErrorAndStop } from '../util/log';
2525

2626
// https://regexr.com/68v72
27-
const EXTRACT_IMPORT_PATH = /\(\s*(['"])([^\1]+)\1\s*\)/;
27+
const EXTRACT_IMPORT_PATH = /\(\s*(['"])(.+?)\1\s*\)/;
2828

2929
// https://regexr.com/690ds
3030
const EXTRACT_SELF_IMPORT = /Promise\s*\.\s*resolve/;

packages/qwik/src/core/render/jsx/types/jsx-types.unit.tsx

-1
Original file line numberDiff line numberDiff line change
@@ -248,7 +248,6 @@ describe('types', () => {
248248
>
249249
Bar
250250
</Poly>
251-
<Poly as={Poly} />
252251
<Poly as={MyCmp} name="meep" />
253252
</>
254253
);

packages/qwik/src/core/render/types.ts

-9
Original file line numberDiff line numberDiff line change
@@ -30,17 +30,8 @@ export interface RenderStaticContext {
3030
readonly $rmSlots$: QwikElement[];
3131
}
3232

33-
// Polyfills for ViewTransition API & scroll restoration
3433
declare global {
35-
interface ViewTransition {
36-
ready: Promise<void>;
37-
finished: Promise<void>;
38-
updateCallbackDone: Promise<void>;
39-
skipTransition: () => void;
40-
}
41-
4234
interface Document {
43-
startViewTransition?: (callback: () => void | Promise<void>) => ViewTransition;
4435
__q_view_transition__?: true | undefined;
4536
__q_scroll_restore__?: (() => void) | undefined;
4637
}

0 commit comments

Comments
 (0)