QVAC Logo

definePlugin( )

Helper function to define a plugin with full type inference. This is an identity function that provides type checking.

function definePlugin(plugin: T): T

Description

Helper function to define a plugin with full type inference. This is an identity function that provides type checking.

Parameters

NameTypeRequired?Description
pluginTNo description

Returns

T

On this page