UNPKG
universal-serialize
Version:
latest (1.0.10)
1.0.10
1.0.9
1.0.8
1.0.7
1.0.6
1.0.5
1.0.4
Javascript module template.
github.com/krakenjs/universal-serialize
krakenjs/universal-serialize
universal-serialize
/
src
/
serializers
/
function.js
12 lines
(8 loc)
•
259 B
JavaScript
View Raw
1
2
3
4
5
6
7
8
9
10
11
12
/* @flow */
export
type
SerializedFunction
=
void
;
export
function
serializeFunction
(
) :
SerializedFunction
{
// pass
}
export
function
deserializeFunction
(
) {
throw
new
Error
(
`Function serialization is not implemented; nothing to deserialize`
); }