Skip to main content

Type Alias: UniversalPlugin

UniversalPlugin = <Ts>(pluginIndex, pluginStore) => PluginInstance<Ts>

Defined in: packages/fast-check/src/check/plugin/Plugin.ts:112

Builder creating a plugin for any property value type while preserving that type. Check Plugin for plugins targeting a specific value type.

It's just a syntaxic sugar!

Type Parameters​

Type Parameter
Ts

Parameters​

ParameterType
pluginIndexnumber
pluginStorePluginStore

Returns​

PluginInstance<Ts>

Remarks​

Since 4.10.3