I understand that when you declare a variable in Typescript, you can choose whether or not to specify a type for the variable. If no type is specified, the default \"any\" type
You could also set in your tsconfig.json:
tsconfig.json
{ "compilerOptions": { "noImplicitReturns": true, "noImplicitAny": true } }