I have installed typescript for atom for writing Protractor Scripts For automation.
My code is written in Jasmine Framework as protractor supports it nicely.
This didn't quite fix the problem for me. In addition to installing the jasmine types (above answer)
I had to open tsconfig.json and insure jasmine was in the list of types under compilerOptions. For example
{
"compileOnSave": false,
"compilerOptions": {
"outDir": "./dist/out-tsc",
"baseUrl": "src",
"sourceMap": true,
"declaration": false,
"moduleResolution": "node",
"emitDecoratorMetadata": true,
"experimentalDecorators": true,
"allowJs": true,
"target": "es5",
"paths": {
"environments": [
"./environments"
]
},
"types": [
"node",
"jasmine"
],
"typeRoots": [
"node_modules/@types"
],
"lib": [
"es2016",
"dom"
]
}
}
After adding "jasmine" as a type, the errors disappeared in Atom immediately.