alan icon indicating copy to clipboard operation
alan copied to clipboard

Interfaces should allow functions that have no input arguments but return the expected interface type

Open dfellis opened this issue 4 years ago • 0 comments

Minor issue, but you can't declare a function that takes no input arguments but returns the interface type in an interface. So basically you can't really define basic constructor-function type functions that you can rely on in your own interface function for generating an intermediate or output type you need. They also won't come through when importing said interface from a module.

dfellis avatar Feb 15 '21 19:02 dfellis