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

Update tooling to support ts files #358

Open
wants to merge 7 commits into
base: master
Choose a base branch
from

Conversation

Clebal
Copy link
Contributor

@Clebal Clebal commented Mar 1, 2022

No description provided.

@coveralls
Copy link
Collaborator

coveralls commented Mar 1, 2022

Pull Request Test Coverage Report for Build 1917513354

  • 0 of 0 changed or added relevant lines in 0 files are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage remained the same at 73.006%

Totals Coverage Status
Change from base Build 1910941911: 0.0%
Covered Lines: 1282
Relevant Lines: 1654

💛 - Coveralls

@@ -18,15 +18,15 @@
"lib": "src",
"test": "__tests__"
},
"types": "src/index.d.ts",
"types": "src/index.ts",
Copy link
Contributor

@zbigg zbigg Mar 4, 2022

Choose a reason for hiding this comment

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

It is in general discouraged to publish 'ts' files as typings
By publishing ts sources, you're forcing user to rely on "our" subset of typescript settings which arenot necessarily compatible with that of user project (like noImplicitAny, strictNullChecks...)

most configurations of typescript will not even compile them as they specifically exclude node_modules

thus, we still should publish .d.ts files, but generated using tsc

Sergio Clebal added 2 commits March 16, 2022 19:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants