Skip to content

Commit 28e0bd7

Browse files
slowcheetahzloirock
authored andcommitted
Update hack comment in array buffer transfer types
1 parent 6d980da commit 28e0bd7

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

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

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

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

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

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

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

0 commit comments

Comments
 (0)