We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3556912 commit a9aedc4Copy full SHA for a9aedc4
docs/architecture/adr/0025-ts-deprecate-enums.md
@@ -43,7 +43,7 @@ const CipherType = Object.freeze({
43
SshKey: 5,
44
} as const);
45
46
-export type CipherType = _CipherType[keyof typeof CipherType];
+export type CipherType = (typeof CipherType)[keyof typeof CipherType];
47
```
48
49
This code creates a `type CipherType` that allows arguments and variables to be typed similarly to
0 commit comments