Skip to content

artboard-deluxe / defineArtboardPlugin

defineArtboardPlugin()

defineArtboardPlugin<T, V>(init): V extends true ? (options?) => ArtboardPluginDefinition<T> : (options) => ArtboardPluginDefinition<T>

Type Parameters

T extends object

V = object extends T ? true : false

Parameters

init

ArtboardPluginInit<T>

Returns

V extends true ? (options?) => ArtboardPluginDefinition<T> : (options) => ArtboardPluginDefinition<T>

Defined in

plugins/defineArtboardPlugin.ts:85