Typescript is a strict version of javascript. When we declare a variable it need to be declare the type of the variable as well. but we can turn of the error due to this, simply In your tsconfig.json file set the parameter "noImplicitAny": false under compilerOptions to get rid of this error.