mirror of
https://github.com/sern-handler/handler
synced 2026-06-06 01:16:55 +00:00
* refactor: rm deprecations, clean up, rm indirection * fix: singleton init not being fired when inserting function * refactor and generic internal add * deprecate a few things that i impusively added lol
12 lines
356 B
TypeScript
12 lines
356 B
TypeScript
import { CommandMeta, Module } from '../../types/core-modules';
|
|
|
|
/*
|
|
* @deprecated
|
|
* Version 4.0.0 will internalize this api. Please refrain from using ModuleStore!
|
|
* For interacting with modules, use the ModuleManager instead.
|
|
*/
|
|
export class ModuleStore {
|
|
metadata = new WeakMap<Module, CommandMeta>();
|
|
commands = new Map<string, Module>();
|
|
}
|