diff --git a/GETTING_STARTED.md b/GETTING_STARTED.md index 2c0b7e7fb674..724dbf0cdd77 100644 --- a/GETTING_STARTED.md +++ b/GETTING_STARTED.md @@ -60,6 +60,18 @@ Import HammerJS on your app's module. import 'hammerjs'; ``` +Finally, you need to add `hammerjs` to the `types` section of your `tsconfig.json` file: + +```json +{ + "compilerOptions": { + "types": [ + "hammerjs" + ] + } +} +``` + ## Configuring SystemJS If your project is using SystemJS for module loading, you will need to add `@angular/material` to the SystemJS configuration: