Is there a way to accomplish this Node.js/CommonJS syntax with TypeScript?
const makeObservable = exports.makeObservable = function _makeObservable(fn: any, opts: any) {}
Basically as you can see, would like to declare a local variable on the same line as exporting that variable. Is it possible in strict TS?
export function foo() { return 'bar'; }