definePlugin( )
Helper function to define a plugin with full type inference. This is an identity function that provides type checking.
function definePlugin(plugin: T): TDescription
Helper function to define a plugin with full type inference. This is an identity function that provides type checking.
Parameters
| Name | Type | Required? | Description |
|---|---|---|---|
plugin | T | ✓ | No description |
Returns
T