Skip to content

Commit 16c6036

Browse files
committed
Fix type error in deno tests
1 parent 7671a5d commit 16c6036

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

deno/StructureClone_test.ts

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -9,12 +9,12 @@ import { MessagePort } from './MessageChannel.ts';
99
const primitives = [[true], [false], [0], [1], ['string'], [undefined], [null]];
1010

1111
const arrayTypes = [
12-
['Uint8Array'],
13-
['Uint16Array'],
14-
['Uint32Array'],
15-
['Int8Array'],
16-
['Int16Array'],
17-
['Int32Array'],
12+
['Uint8Array'] as const,
13+
['Uint16Array'] as const,
14+
['Uint32Array'] as const,
15+
['Int8Array'] as const,
16+
['Int16Array'] as const,
17+
['Int32Array'] as const,
1818
];
1919

2020
const errorCases = [

0 commit comments

Comments
 (0)