You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When importing from internal module portal most of the typings aren't properly inferred.
Details
Here's the code from dist/core/portal.d.ts, most of these getters except moduleKeys resolve as any instead of the type defined.
declareclassPortal{private_enabledModules;private_modules;constructor();getapis(): Collection<string,HandlerRecord<Api>>;getcommands(): Collection<string,HandlerRecord<Command>>;getcontext(): Collection<string,HandlerRecord<Context>>;getevents(): Collection<string,HandlerRecord<globalThis.Event>[]>;getmiddleware(): HandlerRecord<Middleware>[];getmoduleKeys(): Set<string>;module(moduleName: string): Module;/** * Populates the Portal instance from the manifest file. * * Warning: Do not call this method directly. Use the `portal` export instead. */staticopen(): Promise<void>;}
Reproduction
Go to any robo project and try to access to any property from these getters.
The text was updated successfully, but these errors were encountered:
Description
When importing from internal module
portal
most of the typings aren't properly inferred.Details
Here's the code from
dist/core/portal.d.ts
, most of these getters exceptmoduleKeys
resolve asany
instead of the type defined.Reproduction
Go to any robo project and try to access to any property from these getters.
The text was updated successfully, but these errors were encountered: