UNPKG
nothing-mock
Version:
latest (1.0.5)
1.0.5
1.0.4
1.0.3
1.0.2
1.0.1
1.0.0
A chainable, callable mock object which always returns itself
github.com/slmgc/Nothing
slmgc/Nothing
nothing-mock
/
index.d.ts
7 lines
(6 loc)
•
249 B
TypeScript
View Raw
1
2
3
4
5
6
7
export
const
Nothing: any;
export
function
toBool
(o: any)
: boolean;
export
function
isNothing
(o: any)
: boolean;
export
function
isSomething
(o: any)
: boolean;
export
function
serialize
(o: any)
: string;
export
function
deserialize
(s: any)
: any;