Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How do I install this with typings? #6

Closed
tamj0rd2 opened this issue May 24, 2017 · 3 comments
Closed

How do I install this with typings? #6

tamj0rd2 opened this issue May 24, 2017 · 3 comments

Comments

@tamj0rd2
Copy link

No description provided.

@blakeembrey
Copy link
Member

blakeembrey commented May 24, 2017

You can do:

typings install nightwatch

These definitions can not be published to NPM, we're waiting on microsoft/types-publisher#4.

@tamj0rd2
Copy link
Author

tamj0rd2 commented May 25, 2017

Thanks. I've installed this, but intellisense still isn't working in vscode. When I type in browser. there is no intellisense

typings.json

{
  "dependencies": {
    "nightwatch": "registry:npm/nightwatch#1.0.0+20170319203500"
  }
}

tests/test.spec.js

/// <reference path="../typings/index.d.ts" />

module.exports = {
  'Make sure the tests work': (browser) => {
    browser
      .url('http://google.co.uk')
      .waitForElementVisible('body')
      .end()
  }
}

It I take out the reference path line, it still doesn't work.

@tamj0rd2
Copy link
Author

I've also tried using the typings autoinstaller extension but that also hasn't made a difference

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants