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
|
|
@ -78,7 +78,7 @@ const DisabledProvisioningLink = () => {
|
|||
|
||||
type ProvisioningLinkPropTypes = {
|
||||
compose: ComposesResponseItem;
|
||||
composeStatus: ComposeStatus;
|
||||
composeStatus: ComposeStatus | undefined;
|
||||
};
|
||||
|
||||
const ProvisioningLink = ({
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue