-
Notifications
You must be signed in to change notification settings - Fork 26
Open
Labels
enhancementNew feature or requestNew feature or request
Description
At the moment typescript linting tools does not like working with nucleoid. The way I understand this is that when I register a class I get static helper methods on the class in runtime but these do not exist in the code itself, nor their type declarations.
class User {
constructor(public name: string) {
this.name = name;
}
}
nucleoid.register(User);
app.get("/user", () => User.filter(() => /* */));So something like this will throw an error like Property 'filter' does not exist on type 'typeof User'.
Are you planning to add typescript support?
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request