Skip to content

add typecheck script and tsconfig.json #6

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

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from
Draft

Conversation

orangecms
Copy link
Collaborator

No description provided.

@orangecms orangecms marked this pull request as draft March 2, 2023 18:39
@RonRadtke
Copy link
Owner

@orangecms anything that must be done here or can we merge it?

@orangecms
Copy link
Collaborator Author

orangecms commented Mar 27, 2023

I have juggled 🤹 a lot here... and discovered the following regarding "skipLibCheck": true:

  • running tsc only on the .d.ts file does not work; it requires library checking, i.e., "skipLibCheck": false
  • enabling the library checks (i.e., not disabling them) will yield errors rooting in other modules...

I think it'd be best to migrate to TS and get the declarations generated in the build process; WDYT?

@RonRadtke
Copy link
Owner

Migrating to TS might be a good idea. I'm a fan of type annotations regardles. So sooner or alter (as soon as I touch it) everything will be typed regardless

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