I am creating a typescript project based on adonisjs. But I have a problem with require-stack. I don't know how to fix it, or I have to fix @ adonisjs / fold. I wonder if you can help me?
Line:
return require (requirePath);
I want to turn it into.
const m = require (requirePath);
if (m.default) {
return m.default;
} else if (m [path.basename (requirePath)]) {
return m [path.basename (requirePath)];
}
return m;
How did you create this typescript based project?,
Hey @nguyenpl117! 馃憢
The next release of Adonis will be Typescript based.
No need for you to work on this. 馃
Hey @nguyenpl117! 馃憢
The next release of Adonis will be Typescript based.
No need for you to work on this. 馃
When do you plan to publish it?
How did you create this typescript based project?,
Does the typescript still run javascript normally?
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.