Skip to content

Commit a3cf00a

Browse files
committed
fix readonly
1 parent 6fcdeea commit a3cf00a

File tree

1 file changed

+1
-1
lines changed
  • scripts/apitypings/testdata/enums

1 file changed

+1
-1
lines changed

scripts/apitypings/testdata/enums/enums.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,6 @@
44
export type Enum = "bar" | "baz" | "foo" | "qux";
55

66
// From codersdk/enums.go
7-
export type EnumSliceType = Enum[];
7+
export type EnumSliceType = readonly Enum[];
88

99
export const Enums: Enum[] = ["bar", "baz", "foo", "qux"];

0 commit comments

Comments
 (0)