A pair of serifier/deserifier callbacks for a given type.
Remarks
The callbacks are declared with method syntax so that their parameters are
checked bivariantly. This lets a strongly-typed callback (e.g.
(value: bigint) => string) satisfy the [unknown, unknown] index
signature inherited from SerifiableTypeMap without resorting to
any.
A pair of serifier/deserifier callbacks for a given type.
Remarks
The callbacks are declared with method syntax so that their parameters are checked bivariantly. This lets a strongly-typed callback (e.g.
(value: bigint) => string) satisfy the[unknown, unknown]index signature inherited from SerifiableTypeMap without resorting toany.