Skip to content
This repository has been archived by the owner on Jul 29, 2024. It is now read-only.

chore(types): clean up TypeScript support #3520

Merged
merged 2 commits into from
Sep 13, 2016

Conversation

cnishina
Copy link
Member

@cnishina cnishina commented Sep 7, 2016

  • fix exampleTypescript to have noGlobals
  • change the exampleTypescript tsconfig.json to include @types
  • alias promise as wdpromise everywhere
  • refactor gulpfile task 'types' to use multiple files from tsc
  • add browser method types applied from webdriver

this closes #3430, closes #3477, and closes #3500

@ZurabWeb
Copy link

+1

@@ -32,20 +33,36 @@ for (let foo in webdriver) {
exports[foo] = webdriver[foo];
}

// Explicitly define webdriver.WebDriver.
// Explicitly define webdriver.WebDriver
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please add a TODO to extend Webdriver from our typings for it.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

done.

@juliemr
Copy link
Member

juliemr commented Sep 13, 2016

Sorry this took me so long to review. Shame!

I think we could use some more documentation to make navigating our TS infrastructure easier, so I requested a bit here. Feel free to leave everything else for follow-up PRs.

@juliemr juliemr modified the milestones: 4.1.0, 4.0.7 Sep 13, 2016
- fix exampleTypescript to have noGlobals
- change the exampleTypescript tsconfig.json to include @types
- alias promise as wdpromise everywhere
- refactor gulpfile task 'types' to use multiple files from tsc
- add browser method types applied from webdriver

this closes angular#3430, closes angular#3477, and closes angular#3500
-  add comments
- remove gulpfile types task
- remove webdriver namespace from globals.d.ts
@juliemr
Copy link
Member

juliemr commented Sep 13, 2016

Looks good.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
4 participants