Type 'MethodLimitations<Ctx>[K]' is not assignable to type '(...args: any[]) => any'. Type 'string | ((...args: any[]) => PluginDefinition<Ctx, any> | Promise<PluginDefinition<Ctx, any>>) | (() => void | Promise<void>) | ... 10 more ... | (() => string)' is not assignable to type '(...args: any[]) => any'. Type 'string' is not assignable to type '(...args: any[]) => any'. Type 'string | ((...args: any[]) => any) | ((...args: any[]) => PluginDefinition<Ctx, any> | Promise<PluginDefinition<Ctx, any>>) | ... 11 more ... | (() => string)' is not assignable to type '(...args: any[]) => any'. Type 'string' is not assignable to type '(...args: any[]) => any'. node_modules/cordis-decorators/dist/src/registrar.d.ts(86,40): error TS2304: Cannot find name 'Ctx_1'. node_modules/reggol/index.d.ts(1,1): error TS1046: Top-level declarations in .d.ts files must start with either a 'declare' or 'export' modifier. Cleaning up file based variables ERROR: Job failed: exit code 1