React Native Storage - v2.0.0
    Preparing search index...
    StorableValue:
        | string
        | number
        | boolean
        | null
        | undefined
        | bigint
        | Date
        | StorableValue[]
        | Map<StorableValue, StorableValue>
        | Set<StorableValue>
        | { [key: string]: StorableValue }

    Values that survive a round trip through storage unchanged.

    JSON alone turns NaN into null, drops undefined, flattens a Date to a string and a Map to {}. The codec tags those values instead, so what you read back has the same type as what you wrote.