Skip to main content

Class: Utilities

@sapphire/plugin-utilities-store.Utilities

Since

1.0.0

Constructors

constructor

new Utilities(): Utilities

Returns

Utilities

Since

1.0.0

Defined in

projects/plugins/packages/utilities-store/src/lib/Utilities.ts:19

Properties

store

Readonly store: UtilitiesStore

The utilities this store holds.

Since

1.0.0

Defined in

projects/plugins/packages/utilities-store/src/lib/Utilities.ts:13

Methods

exposePiece

exposePiece(name, piece): void

Registers a piece on this class.

Parameters

NameTypeDescription
namestringThe name of the piece to register on this class
pieceUtility<PieceOptions>The piece to register on this class

Returns

void

Defined in

projects/plugins/packages/utilities-store/src/lib/Utilities.ts:29