We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6fcdeea commit a3cf00aCopy full SHA for a3cf00a
scripts/apitypings/testdata/enums/enums.ts
@@ -4,6 +4,6 @@
4
export type Enum = "bar" | "baz" | "foo" | "qux";
5
6
// From codersdk/enums.go
7
-export type EnumSliceType = Enum[];
+export type EnumSliceType = readonly Enum[];
8
9
export const Enums: Enum[] = ["bar", "baz", "foo", "qux"];
0 commit comments