Skip to content

Commit 2fc9477

Browse files
dependabot[bot]afc163
authored andcommitted
chore: bump typescript from 5.8.3 to 5.9.2 (ant-design#1088)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: afc163 <[email protected]>
1 parent ac7acf0 commit 2fc9477

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

components/x-stream/index.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -159,13 +159,13 @@ function XStream<Output = SSEOutput>(options: XStreamOptions<Output>) {
159159
* Uint8Array binary -> string -> Output
160160
*/
161161
readableStream
162-
.pipeThrough(decoderStream)
162+
.pipeThrough(decoderStream as TransformStream<Uint8Array, string>)
163163
.pipeThrough(transformStream)
164164
: /**
165165
* Uint8Array binary -> string -> SSE part string -> Default Output {@link SSEOutput}
166166
*/
167167
readableStream
168-
.pipeThrough(decoderStream)
168+
.pipeThrough(decoderStream as TransformStream<Uint8Array, string>)
169169
.pipeThrough(splitStream())
170170
.pipeThrough(splitPart())
171171
) as XReadableStream<Output>;

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@
4747
"predist": "npm run version && npm run token:statistic && npm run token:meta",
4848
"format": "biome format --write .",
4949
"prelint": "dumi setup",
50-
"lint": "npm run version && npm run tsc && npm run lint:script && npm run lint:md && npm run lint:style && npm run lint:changelog",
50+
"lint": "npm run version && npm run lint:script && npm run lint:md && npm run lint:style && npm run lint:changelog",
5151
"lint:changelog": "tsx scripts/generate-component-changelog.ts",
5252
"lint:deps": "antd-tools run deps-lint",
5353
"lint:md": "remark . -f -q",
@@ -251,7 +251,7 @@
251251
"tar": "^7.4.3",
252252
"tsx": "^4.19.1",
253253
"typedoc": "^0.28.0",
254-
"typescript": "~5.8.2",
254+
"typescript": "~5.9.2",
255255
"vanilla-jsoneditor": "^3.0.0",
256256
"web-streams-polyfill": "^4.0.0",
257257
"webpack": "^5.94.0",

0 commit comments

Comments
 (0)