title: is not assignable to parameter of type 'Expected<Promise<string>>' in editor
body: <p>My tests are passing from command line, however I edit the <code>typescript</code> source using <code>Atom</code>.</p>
  
  <p>And when I open one of the test files in my editor, I'm seeing an error on this line:</p>
  
  <pre><code>expect(pageObject.name.getText()).toEqual('Some name');
  </code></pre>
  
  <p>This is the error:</p>
  
  <pre><code>Typescript
  
  Error
  Argument of type '"Some name"' is not assignable to parameter of type 'Expected&lt;Promise&lt;string&gt;&gt;'.at line 16 col 50
  </code></pre>
  
  <p>Why does this show in my editor? Yet tests pass.</p>
  
  <p>Command to run protractor tests:</p>
  
  <pre><code>protractor dist/protractor.config.js
  </code></pre>
  
  <p>Snippet from <code>package.json</code></p>
  
  <pre><code>"dependencies": {
      "typescript": "2.3.3"
  },
  "devDependencies": {
      "@types/jasmine": "2.5.45",
      "@types/node": "^7.0.13",
      "jasmine-core": "^2.6.0",
      "jasmine-spec-reporter": "^4.1.0",
      "protractor": "^5.1.2"
  }
  </code></pre>
  
  <p>tsconfig.fvt.test.json</p>
  
  <pre><code>{
    "compilerOptions": {
      "module": "commonjs",
      "noImplicitAny": true,
      "noUnusedLocals": true,
      "moduleResolution": "node",
      "sourceMap": false,
      "emitDecoratorMetadata": true,
      "experimentalDecorators": true,
      "noUnusedParameters": true,
      "outDir": "dist",
      "skipLibCheck": true,
      "target": "ES5",
      "lib": [
        "dom", "es5", "es6", "scripthost"
      ],
      "types": ["jasmine"]
    },
    "include": [
      "protractor.config.ts",
      "test/e2e/**/*.ts"
    ]
  }
  </code></pre>