UNPKG
@msom/common
Version:
latest (0.0.16)
0.0.16
0.0.15
0.0.14
0.0.13
0.0.12
0.0.11
0.0.10
0.0.9
0.0.8
0.0.7
0.0.6
0.0.5
0.0.4
0.0.3
0.0.2
0.0.1
@msom/common
@msom/common
/
dist
/
types
/
assert
/
index.d.ts
4 lines
•
264 B
TypeScript
View Raw
1
2
3
4
import
{
Nullable
}
from
"../global"
;
export
declare
function
assert
(
condition
:
unknown
,
message
?:
string
| (() =>
Error
) |
Error
): asserts condition;
export
declare
function
nil<T>(
data
: T |
Nullable
|
void
,
defaultData
: T): T;
//# sourceMappingURL=index.d.ts.map