-
Notifications
You must be signed in to change notification settings - Fork 13.3k
Closed
Labels
QuestionAn issue which isn't directly actionable in codeAn issue which isn't directly actionable in code
Description
I don't know if this was considered yet but since we can pass around modules as values why not offer the ability to specify module types in variables/function signatures?
module Foo {
export function bar(a: number, b: number): number {
return a + b;
}
}
function foo2(moduleFoo: <ModuleType>) {
...
}Kind regards.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
QuestionAn issue which isn't directly actionable in codeAn issue which isn't directly actionable in code