-
Notifications
You must be signed in to change notification settings - Fork 34
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: add "or undefined" explicitly to support exactOptionalPropertyT…
…ypes
- Loading branch information
1 parent
52db3c8
commit 4b2f259
Showing
107 changed files
with
1,637 additions
and
1,637 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,14 @@ | ||
/* eslint-disable */ | ||
export type User = { | ||
id?: string | ||
roles?: (RoleA | RoleB)[] | ||
id?: string | undefined | ||
roles?: (RoleA | RoleB)[] | undefined | ||
} | ||
|
||
export type RoleA = { | ||
name?: string | ||
name?: string | undefined | ||
} | ||
|
||
export type RoleB = { | ||
name?: string | ||
authority?: string | ||
name?: string | undefined | ||
authority?: string | undefined | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.