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

Fix tsconfig for emotion-theming #714

Merged
merged 1 commit into from
Jun 13, 2018

Conversation

Ailrun
Copy link
Member

@Ailrun Ailrun commented Jun 11, 2018

What: tsconfig.json for emotion-theming package

Why: It does not work well with dtslint

How: Fix options in tsconfig.json

Checklist:

  • [N/A] Documentation
  • [N/A] Tests
  • Code complete

Resolves #711.

"noImplicitAny": true,
"noImplicitThis": true,
"strict": true,
Copy link
Contributor

Choose a reason for hiding this comment

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

You can clean it up a bit now because of strict mode. You can remove noImplicitAny, noImplicitThis, strictNullChecks and strictFunctionTypes.

Copy link
Member Author

@Ailrun Ailrun Jun 12, 2018

Choose a reason for hiding this comment

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

I usually left them for clarity. Does this verbosity bother you? If that's the case, let's delete them in all tsconfig.jsons in a separate PR.

Copy link
Contributor

Choose a reason for hiding this comment

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

It is a habit of mine to keep them as concise as possible. But that's just me. I'm leaving it up to you 👍

@tkh44 tkh44 merged commit 6057202 into emotion-js:master Jun 13, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants