Open lion-200 opened 4 years ago
There is no problem for TypeScript to understand that import without extname .ts
, same as babel has no problem to understand any import without extname .js
.
If you saw some error in your app, either in editor or running app, let's know.
The problem is not the .ts or .js extension, but the name of the module trying to be loaded:
The name of the file must be with an "s" added or the imported module must be without the "s" in the end.
Oh, sorry, I miss read your issue. Send over a PR if you want to :)
No problem :) PR created ;) Thanks.
I'm submitting a minor typo in Contact Manager tutorial documentation
Current behavior: The file name needs to be created in section Adding Pub/Sub Messaging is called "message.ts" while further in the code of contact-detail.ts "messages" is being imported.
Expected/desired behavior: Minor change in the file name to be created. From "message.ts" to "messages.ts"