Skip to main content

RequiredParam type

This feature is currently in beta and may change based on feedback that we receive.

Makes a parameter required to be passed, but still allowes it to be undefined.

Signature:

export declare type RequiredParam<T> = T | undefined;