Skip to content

Fix d.ts generation #174

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

Merged
merged 3 commits into from
Jan 24, 2020
Merged

Fix d.ts generation #174

merged 3 commits into from
Jan 24, 2020

Conversation

sandersn
Copy link
Contributor

  1. Generate d.ts files for all .js files by adding "declaration": true in tsconfig.json.
  2. In index.d.ts, export * from './lib/core' instead of './core'

Fixes #173

1. Generate d.ts files for all .js files by adding `"declaration": true`
in tsconfig.json.
2. In index.d.ts, export * from './lib/core' instead of './core'
@sandersn
Copy link
Contributor Author

sandersn commented Jan 23, 2020

CI fails because ts-loader expects a node version higher than 8.0. Pretty sure this isn't related to my change.

Edit: Added a commit to use node 12.0 instead.

@sandersn
Copy link
Contributor Author

Now CI fails saying it can't find ./lib from index.js. This probably is a result of my change, but I'm not sure why.

@sandersn sandersn requested a review from crcn January 24, 2020 16:54
@sandersn
Copy link
Contributor Author

Oh, haha nope, #175 is also broken and does nothing but update to node 12.

@crcn crcn merged commit cfcd90f into crcn:master Jan 24, 2020
@sandersn sandersn deleted the fix-d.ts-generation branch January 24, 2020 18:23
@crcn
Copy link
Owner

crcn commented Jan 24, 2020

Thanks! Should be on NPM as 11.0.11.

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.

Types are broken in 11.0
2 participants