cdk / dialog / TypeAlias

DialogRefOf

Generic types:T

Utility type to extract a strictly typed DialogRef type from a dialog component type that extends DialogIoTypes.

See Also

Presentation

type DialogRefOf = DialogRef<DialogOutputOf<T>, T>;

Example usage

function handleRef(ref: DialogRefOf<MyDialog>) { ... }