Skip to content

Commit f6fe119

Browse files
committed
Some improvements
1 parent 195ae25 commit f6fe119

File tree

11 files changed

+12
-9
lines changed

11 files changed

+12
-9
lines changed

packages/core-js-types/src/base/proposals/array-buffer-transfer.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ interface ArrayBuffer {
2626
transferToFixedLength(newByteLength?: number): ArrayBuffer;
2727
}
2828

29-
// Type compatibility hack for AllowSharedBufferSource in TypeScript < 5.9
29+
// Type compatibility hack for AllowSharedBufferSource in TypeScript < 5.9: https://github.com/microsoft/TypeScript/issues/61480
3030
interface SharedArrayBuffer {
3131
readonly resizable: boolean;
3232

packages/core-js-types/src/base/pure/proposals/array-buffer-transfer.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ declare namespace CoreJS {
3737
var CoreJSArrayBuffer: CoreJSArrayBufferConstructor;
3838
}
3939

40-
// Type compatibility hack for AllowSharedBufferSource in TypeScript < 5.9
40+
// Type compatibility hack for AllowSharedBufferSource in TypeScript < 5.9: https://github.com/microsoft/TypeScript/issues/61480
4141
interface SharedArrayBuffer {
4242
readonly resizable: boolean;
4343

tests/type-definitions/entries/actual/test.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@ import '@core-js/types/actual';
22

33
const concat = Iterator.concat([1, 2, 3]);
44

5+
structuredClone({ name: "core-js" });
6+
57
Iterator.zipKeyed({ a: [1, 2], b: [3, 4] });
68
Iterator.zip([[1, 2, 3], [4, 5, 6]]);
79

tests/type-definitions/entries/es/test.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@ import '@core-js/types/es';
22

33
const concat = Iterator.concat([1, 2, 3]);
44

5+
structuredClone({ name: "core-js" });
6+
57
// @ts-expect-error
68
Iterator.zipKeyed({ a: [1, 2], b: [3, 4] });
79
// @ts-expect-error

tests/type-definitions/entries/full/test.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@ import '@core-js/types/full';
22

33
const concat = Iterator.concat([1, 2, 3]);
44

5+
structuredClone({ name: "core-js" });
6+
57
Iterator.zipKeyed({ a: [1, 2], b: [3, 4] });
68
Iterator.zip([[1, 2, 3], [4, 5, 6]]);
79

tests/type-definitions/entries/global-symlinks/test.ts renamed to tests/type-definitions/entries/global-imports/test.ts

File renamed without changes.

tests/type-definitions/entries/global-symlinks/tsconfig.json renamed to tests/type-definitions/entries/global-imports/tsconfig.json

File renamed without changes.
File renamed without changes.

tests/type-definitions/entries/pure-symlinks/tsconfig.json renamed to tests/type-definitions/entries/pure-imports/tsconfig.json

File renamed without changes.

tests/type-definitions/entries/stable/test.ts

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@ import '@core-js/types/stable';
22

33
const concat = Iterator.concat([1, 2, 3]);
44

5+
structuredClone({ name: "core-js" });
6+
57
// @ts-expect-error
68
Iterator.zipKeyed({ a: [1, 2], b: [3, 4] });
79
// @ts-expect-error
@@ -12,11 +14,6 @@ concat.chunks(2);
1214
// @ts-expect-error
1315
concat.windows(3);
1416

15-
// @ts-expect-error
16-
concat.chunks(2);
17-
// @ts-expect-error
18-
concat.windows(3);
19-
2017
Promise.all([1, 2, 3]);
2118
// @ts-expect-error
2219
Promise.allKeyed({

0 commit comments

Comments
 (0)