api: union undefined
Set the option to generate union undefined types for objects that have optional items. This will allow us to enable `exactOptionalPropertyTypes` in our tsconfig [1]. [1] This is a recommended setting, see: https://www.typescriptlang.org/tsconfig/#exactOptionalPropertyTypes
This commit is contained in:
parent
b3b69c3653
commit
bad77421ae
16 changed files with 553 additions and 523 deletions
|
|
@ -56,7 +56,7 @@ export type wizardState = {
|
|||
accountId: string;
|
||||
shareMethod: AwsShareMethod;
|
||||
source: V1ListSourceResponseItem | undefined;
|
||||
sourceId?: string;
|
||||
sourceId?: string | undefined;
|
||||
};
|
||||
azure: {
|
||||
shareMethod: AzureShareMethod;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue