prototyping linking static handler

This commit is contained in:
Jacob Nguyen
2024-05-02 01:22:40 -05:00
parent 219eda9bf7
commit d3245c8a0c
4 changed files with 26 additions and 46 deletions

View File

@@ -22,6 +22,7 @@ export function commandModule(mod: InputCommand): _Module {
const { name, absPath } = Files.parseCallsite(initCallsite);
mod.name ??= name;
mod.description ??= '...'
//@ts-ignore
return {
...mod,
@@ -44,6 +45,7 @@ export function eventModule(mod: InputEvent): _Module {
if(!initCallsite) throw Error("initCallsite is null");
const { name, absPath } = Files.parseCallsite(initCallsite);
mod.name ??= name;
mod.description ??= '...'
//@ts-ignore
return {
...mod,