UNPKG
stnl
Version:
latest (2.0.3)
2.0.3
2.0.2
2.0.1
2.0.0
1.3.2
1.3.1
1.3.0
1.2.4
1.2.3
1.2.2
1.2.1
1.2.0
1.1.9
1.1.8
1.1.7
1.1.6
1.1.5
1.1.4
1.1.3
1.1.2
1.1.1
1.1.0
1.0.5
1.0.4
1.0.3
1.0.1
1.0.0
0.3.5
0.3.4
0.3.3
0.3.2
0.3.1
0.3.0
0.2.4
0.2.3
0.2.2
0.2.1
0.2.0
0.1.0
0.0.3
0.0.2
0.0.1
A simple, opinionated type validator built for performance
stnl
/
build
/
json
/
stringify.d.ts
8 lines
(7 loc)
•
229 B
TypeScript
View Raw
1
2
3
4
5
6
7
8
import
type
{
TInfer
,
TLoadedType
}
from
"../../type.js"
;
declare
const
_default
: <T
extends
TLoadedType
>
(
t
: T
) =>
(
(
o
:
TInfer
<T>
) =>
string
);
/** * Get the compiled stringifier of a schema *
@param
t
*/
export
default
_default;