UNPKG

exupery-core-types

Version:
9 lines (8 loc) 290 B
/** * A computed value is a function without paramters returning the specified type * it makes it possible to do the evaluation only when the function is called * useful for lazy evaluation or when side effects are needed */ export type Computed_Value<T> = { 'compute': () => T; };