Closed mc-petry closed 1 year ago
One way is to allow
type ValidValue = string | number | boolean | object | bigint;
but ValidValue in a real life can be any
I believe that we need to use global module augmentation here.
@mc-petry sorry for the long waiting, but v1.3.0 has been released and bigInt
is now accepted as a valid value
Actual:
We got an error:
Type '[bigint]' is not assignable to type 'KeyTuple'.
Expected result: no error This must be allowed case since we can override queryKeyHashFn.