Sha256: f4ed68a1a7f45634a6c8ef33d0dca99ace0618e31eb70b192dd785c0da7023a9
Contents?: true
Size: 345 Bytes
Versions: 26
Compression:
Stored size: 345 Bytes
Contents
type NotFunction<T> = T extends Function ? never : T; export declare function useState<Value>(defaultValue: NotFunction<Value> | (() => Value)): [Value, (newValue: Value) => void]; export declare function useState<Value>(defaultValue?: NotFunction<Value> | (() => Value)): [Value | undefined, (newValue?: Value | undefined) => void]; export {};
Version data entries
26 entries across 26 versions & 1 rubygems