3 ms·
i dislike the import part. without writing the from part first you can't evaluate the import..
by merb 11y ago
i dislike the import part. without writing the from part first you can't evaluate the import..
- altano 11y agoYeah, the creator of TypeScript was complaining about this in a presentation. I think the existing syntax "import X from Y" reads more naturally than "from Y import X" but obviously the latter is better for tooling and autocomplete/intellisense. Oh well!