Suggestion to register import has .ts extension
When following the suggestion to import a controller:
The import is always added with the .ts extension (the file is .ts). However, this only works if the current tsconfig.json setting allowImportingTsExtensions. If this is set to false (default), the import fails.
An import path can only end with a '.ts' extension when 'allowImportingTsExtensions' is enabled. ts(5097)
Thanks for reporting @SleeplessByte! That's an interesting one. I guess ideally we could just never include the file extension. That should work for both JavaScript and TypeScript in most cases.
I dont know if there are cases where the extension is required. There probably are but i would wait for the bug report to support it 😄
I don't think I added the extension on purpose, it was more a side effect while dealing with files/paths.