I'm developing a Application using Angular and Typescript. That time i'm facing this error. 
Error   21  Cannot find namespace 'angular'.
How to solve this??
Maybe you should add angular types to tsconfig.json as following:
  {
...
"compilerOptions":
    ...
    "types": [
        "angular"
    ],
  }
If that won't work, since typings are deprecated, I suggest you to install @types/angular with npm:
npm install --save-dev @types/angular
and include it as above.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With