Skip to content

Commit 9cf348e

Browse files
committed
additional corrections
1 parent a9aedc4 commit 9cf348e

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

docs/architecture/adr/0025-ts-deprecate-enums.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ In most cases, enums are unnecessary. A readonly (`as const`) object coupled wit
3535
avoids both code generation and type inconsistencies.
3636

3737
```ts
38-
const CipherType = Object.freeze({
38+
export const CipherType = Object.freeze({
3939
Login: 1,
4040
SecureNote: 2,
4141
Card: 3,

docs/contributing/code-style/angular.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -206,7 +206,7 @@ property from your component:
206206

207207
```ts
208208
// given:
209-
const EnumLike = { Some = "some", Value: "value" };
209+
const EnumLike = { Some: "some", Value: "value" };
210210
type EnumLike = EnumLike[keyof typeof EnumLike];
211211

212212
// add the input:

0 commit comments

Comments
 (0)