Angular 4 and modules: Rangy
问题 I'm new to Angular 4, I just created a simple app forking the Angular quickstart and now I'm trying to import Rangy. On package.json I now have the following dependencies: "rangy": "^1.3.0", "@types/rangy": "^0.0.27" I expected to be able to simply do a import {RangySelection} from 'rangy'; but that just gives me the error TS2306: File '/projects/mylittleapp/node_modules/@types/rangy/index.d.ts' is not a module. What am I doing wrong? EDIT: I understand that it has to do with SystemJS and how