tuil
ReferencePackages@mwillbanks/tuil-coreAPI

defineCommand

function exported by @mwillbanks/tuil-core.

View rawEdit

function

Public function exported by @mwillbanks/tuil-core.

export function defineCommand<TResult>(
  command: Command<TResult>,
): Command<TResult>;

Members

This declaration has no public members.

Parameters

MemberTypeRequiredDescriptionRelated types
commandCommand<TResult>YesSupplies the command value as Command<TResult>.Command

Returns

Command<TResult> — Returns a value that satisfies Command<TResult>.

Related types: Command

Throws

No thrown errors are documented for this declaration.

Source

View the secondary source reference

Package

@mwillbanks/tuil-core

On this page