Appearance
spool / KitPlugin
Interface: KitPlugin โ
Defined in: plugin.ts:5
A spool plugin: a name, its deps, and an install that adds the feature. Does nothing until passed to installKit.
Properties โ
deps? โ
readonlyoptionaldeps?: readonlystring[]
Defined in: plugin.ts:9
Plugins that must be installed first. A missing one is an error.
name โ
readonlyname:string
Defined in: plugin.ts:7
Unique id. Used to dedupe installs and to resolve deps.
Methods โ
install() โ
install():
void
Defined in: plugin.ts:14
Adds the feature (e.g. Selector.prototype.holding = ...). Runs at most once, so needn't be idempotent.
Returns โ
void