Consider the following TypeScript function:
export const foo = function(){
return {
a: 1,
b: true,
c: 'bar'
}
};
If I were to import this function into another file:
import {foo} from './foobar';
Is there a method to determine the return type of foo
without executing foo
?