- asyncProperty<Ts extends [unknown, ...unknown[]]>(
...args: [
...arbitraries: {
[K in string
| number
| symbol]: Arbitrary<Ts[K<K>]>
}[],
predicate: (...args: Ts) => Promise<boolean | void>,
],
): IAsyncPropertyWithHooks<Ts> Type Parameters
- Ts extends [unknown, ...unknown[]]
Parameters
- ...args: [
...arbitraries: { [K in string
| number
| symbol]: Arbitrary<Ts[K<K>]> }[],
predicate: (...args: Ts) => Promise<boolean | void>,
]
Instantiate a new fast-check#IAsyncProperty