UNPKG
multitude
Version:
latest (0.0.8)
0.0.8
0.0.7
0.0.6
0.0.5
0.0.4
0.0.3
0.0.2
0.0.1
Comprehensive streams for push and pull
github.com/rafamel/multitude
rafamel/multitude
multitude
/
dist
/
helpers
/
Accessor.d.ts
6 lines
(5 loc)
•
264 B
TypeScript
View Raw
1
2
3
4
5
6
import
{
Dictionary
,
NullaryFn
}
from
'type-core'
;
export
declare
class
Accessor
{
static
define<T>(
obj
:
Dictionary
,
key
:
string
|
number
|
symbol
,
value
: T):
void
;
static
fallback<T>(
obj
:
Dictionary
,
key
:
string
|
number
|
symbol
,
fn
:
NullaryFn
<T>): T; }