correct readme with new serialize signature
This commit is contained in:
parent
584f4f1bb7
commit
c7b21894f5
1 changed files with 2 additions and 2 deletions
|
@ -60,8 +60,8 @@ a `Deserializer` is responsible for transforming the target serialization format
|
|||
|
||||
## `Serialize`
|
||||
```ts
|
||||
interface Serialize<T> {
|
||||
<U>(serializer: ISerializer<T>, value: U): T
|
||||
interface Serialize<T, U> {
|
||||
(serializer: ISerializer<T>, value: U): T
|
||||
}
|
||||
```
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue