Conversation
|
The following accounts have interacted with this PR and/or linked issues. I will continue to update these lists as activity occurs. You can also manually ask me to refresh this list by adding the If you're merging code through a pull request on GitHub, copy and paste the following into the bottom of the merge commit message. To understand the WordPress project's expectations around crediting contributors, please review the Contributor Attribution page in the Core Handbook. |
If the |
Unfortunately then TypeScript won't check it at all when |
felixarntz
left a comment
There was a problem hiding this comment.
@westonruter Looks reasonable to me. But I'm not the best person to review this, would be great to get @swissspidy's approval on this.
|
Also, related to |
Disclaimer: This is my first time setting up TypeScript for a project. So I probably missed some things!
tscto the npm scripts.jsandtsfiles inlint-staged.npm run tscinlint-staged. Problem: Passing the files does not work, as TypeScript forces them to be considered TS files and not JS files. See comment.types.d.tstotypes.tsand apply Prettier formatting.