8000 feat(typescript): convert to typescript by zhaoshengjun · Pull Request #16 · webpack/tapable · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

feat(typescript): convert to typescript #16

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

Closed
wants to merge 1 commit into from

Conversation

zhaoshengjun
Copy link

Convert to typescript.

The test script has been run and passed. Also I put this generated js file in the webpack repo, replace the Tapable in the node_modules, and the test results are same as before.

Here're the questions need to be discussed:

  1. Currently the generated js file is pointing to lib folder, which means it will be overwritten everytime we run the npm run dev command. Do we need to change it to another directory (but we have to update package.json as well)?
  2. This PR also include the functionality to generated typing file automatically. Currently it's pointing to typings folder and I haven't include that in the PR. Do I need to include it?

For the sake of keeping this compatiable with current API, the code hasn't change to much other than using arrow functions and adding typing informations. But as I mentioned in issue #15 , we can create documentations automatically after this.

@sokra
Copy link
Member
sokra commented Dec 11, 2017

We don't want to convert to typescript

@sokra sokra closed this Dec 11, 2017
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

Successfully merging this pull request may close these issues.

2 participants
0