Open steinybot opened 7 months ago
Params is:
Params
export type Params = Record<string, string>;
But if you get an optional param that is missing you get undefined.
undefined
Either the type of Params should be:
Or the key for optional parameters should not be present.
Params
is:But if you get an optional param that is missing you get
undefined
.Either the type of
Params
should be:Or the key for optional parameters should not be present.