1
0
mirror of https://github.com/Unleash/unleash.git synced 2025-08-27 13:49:10 +02:00

Fix: type

This commit is contained in:
Thomas Heartman 2023-11-20 12:47:16 +01:00
parent cb515d5ba4
commit 9e650e0257
No known key found for this signature in database
GPG Key ID: BD1F880DAED1EE78

View File

@ -5,7 +5,7 @@ type NewStrategy = {
environment: string; environment: string;
}; };
type ExistingStrategy = NewStrategy & { id?: string }; type ExistingStrategy = NewStrategy & { id: string };
export type ChangeRequestStrategy = NewStrategy | ExistingStrategy; export type ChangeRequestStrategy = NewStrategy | ExistingStrategy;