Skip to content
Work in progress. These docs describe Spawnite at launch, and some parts are still being built.

HandleOf

HandleOf<Declaration, Key> = Declaration extends CommandDeclaration<infer Fields, infer Reason, infer Returns, infer ActsThrough, infer EndsWithLevel, infer Predicted> ? CommandHandle<Fields, Reason, Returns, ActsThrough, EndsWithLevel, Key, Predicted> : never

The handle definePlugin makes of Declaration under Key.

Type Parameter Default type
Declaration -
Key extends string string