Skip to content

Commit

Permalink
chore: update typescript to 5.6.2 (#1320)
Browse files Browse the repository at this point in the history
  • Loading branch information
noshiro-pf authored Sep 26, 2024
1 parent 7784f7b commit 392270a
Show file tree
Hide file tree
Showing 511 changed files with 19,856 additions and 16,639 deletions.
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
// This file is created to avoid circular reference between RN and operators.

export * from './RN';
export * from './operators/debounce';
export * from './operators/filter';
export * from './operators/flatMap';
Expand All @@ -13,3 +12,4 @@ export * from './operators/skipUnchanged';
export * from './operators/switchMap';
export * from './operators/take';
export * from './operators/withLatest';
export * from './RN';
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
// This file is created to avoid circular reference between RN and operators.

export * from './RN';
export * from './operators/debounce';
export * from './operators/filter';
export * from './operators/flatMap';
Expand All @@ -13,3 +12,4 @@ export * from './operators/skipUnchanged';
export * from './operators/switchMap';
export * from './operators/take';
export * from './operators/withLatest';
export * from './RN';
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
// This file is created to avoid circular reference between RN and operators.

export * from './RN';
export * from './operators/debounce';
export * from './operators/filter';
export * from './operators/flatMap';
Expand All @@ -13,3 +12,4 @@ export * from './operators/skipUnchanged';
export * from './operators/switchMap';
export * from './operators/take';
export * from './operators/withLatest';
export * from './RN';
2 changes: 1 addition & 1 deletion experimental/angular_projects/rnjslocal/RN.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
export { RN } from './internal/RN';
export { combine } from './internal/combinationRNs/combine';
export { merge } from './internal/combinationRNs/merge';
export { RN } from './internal/RN';
export { constant, of } from './internal/sourceRNs/constant';
export { fromEvent } from './internal/sourceRNs/fromEvent';
export { fromObservable } from './internal/sourceRNs/fromObservable';
Expand Down
2 changes: 1 addition & 1 deletion experimental/rnjs/src/internal/index.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
export * from './RN';
export * from './combinationRNs';
export * from './mod';
export * from './operators';
export * from './RN';
export * from './sourceRNs';
export * from './types';
export * from './utils';
2 changes: 1 addition & 1 deletion experimental/rnjs/src/internal/mod.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
// This file is created to avoid circular reference between RN and operators.

export * from './RN';
export * from './operators/auditTime';
export * from './operators/debounce';
export * from './operators/delay';
Expand All @@ -20,3 +19,4 @@ export * from './operators/throttle';
export * from './operators/withDefault';
export * from './operators/withInitialValue';
export * from './operators/withLatest';
export * from './RN';
2 changes: 1 addition & 1 deletion experimental/ts-utils-res/src/types/records/index.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
export * from './Point_bs';
export * from './RectSize_bs';
export * from './Rectangle_bs';
export * from './RectSize_bs';
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@
"ts-morph": "^22.0.0",
"ts-node": "^10.9.2",
"tslib": "^2.4.0",
"typescript": "5.4.3",
"typescript": "5.6.2",
"unplugin-auto-import": "^0.17.5",
"vite": "^5.4.6",
"vite-plugin-markdown": "^2.2.0",
Expand Down
5 changes: 4 additions & 1 deletion packages/apps/slack-app/functions/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,10 @@ export const makeUppercase = firestore
mut_data.push(chunk);
})
.on('end', () => {
const events = Buffer.concat(mut_data);
const events: Buffer = Buffer.concat(
// eslint-disable-next-line total-functions/no-unsafe-type-assertion
mut_data as unknown as Uint8Array[],
);
// eslint-disable-next-line @typescript-eslint/no-unsafe-assignment,@typescript-eslint/no-explicit-any
const r = Json.parse(events.toString()) as any;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,6 @@
"setup": "tsc"
},
"devDependencies": {
"typescript-json-schema": "^0.63.0"
"typescript-json-schema": "^0.65.1"
}
}
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@@ -1,27 +1,15 @@
@@ -1,19 +1,5 @@
-/*! *****************************************************************************
-Copyright (c) Microsoft Corporation. All rights reserved.
-Licensed under the Apache License, Version 2.0 (the "License"); you may not use
Expand All @@ -19,15 +19,26 @@

/////////////////////////////
/// Window Async Iterable APIs
/////////////////////////////
@@ -26,9 +12,11 @@ interface FileSystemDirectoryHandleAsyncIterator<T>

interface FileSystemDirectoryHandle {
- [Symbol.asyncIterator](): AsyncIterableIterator<[string, FileSystemHandle]>;
- entries(): AsyncIterableIterator<[string, FileSystemHandle]>;
+ [Symbol.asyncIterator](): AsyncIterableIterator<
[Symbol.asyncIterator](): FileSystemDirectoryHandleAsyncIterator<
- [string, FileSystemHandle]
+ readonly [string, FileSystemHandle]
+ >;
+ entries(): AsyncIterableIterator<readonly [string, FileSystemHandle]>;
keys(): AsyncIterableIterator<string>;
values(): AsyncIterableIterator<FileSystemHandle>;
+ entries(): FileSystemDirectoryHandleAsyncIterator<
+ readonly [string, FileSystemHandle]
>;
- entries(): FileSystemDirectoryHandleAsyncIterator<[string, FileSystemHandle]>;
keys(): FileSystemDirectoryHandleAsyncIterator<string>;
values(): FileSystemDirectoryHandleAsyncIterator<FileSystemHandle>;
}
@@ -38,7 +26,7 @@ interface ReadableStreamAsyncIterator<T>
[Symbol.asyncIterator](): ReadableStreamAsyncIterator<T>;
}

-interface ReadableStream<R = any> {
+interface ReadableStream<R = unknown> {
[Symbol.asyncIterator](
options?: ReadableStreamIteratorOptions,
): ReadableStreamAsyncIterator<R>;
Loading

0 comments on commit 392270a

Please sign in to comment.