Noel Varanda
|
4cd20b1335
|
Fix #15540: Throw error when importing @types (#15866)
* Fix #15540: Throw error when importing @types
Fix issue: #15540
- Modify checker; external imports to account for imported modules
containing '@types/'.
- Add diagnostic message.
- Add test case
* FIX-15540: Review changes
- Replace `substr` with `startsWith`
- move diagnostics message to more relevant place
- Add `removePrefix` helper function
|
2017-05-19 09:38:04 -07:00 |
|