UNPKG

@aurigma/design-atoms-model

Version:

Design Atoms is a part of Customer's Canvas SDK which allows for manipulating individual design elements through your code.

6 lines (5 loc) 166 B
export type Action<T1 = void, T2 = void> = [ T1 ] extends [void] ? () => any : [ T2 ] extends [void] ? (arg: T1) => any : ((arg1: T1, arg2: T2) => any);