ignore `.js` files in type checker (#1108)

makes stuff like #1085 not fail
pull/1109/head^2
Alex Johansson 2021-11-02 14:04:25 +00:00 committed by GitHub
parent 68e062c100
commit 5a25e6daee
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 1 deletions

View File

@ -7,7 +7,8 @@ const files = diff
.trim()
.split("\n")
.map((file) => file.trim())
.filter(Boolean);
.filter(Boolean)
.filter((file) => file.endsWith(".ts") || file.endsWith(".tsx"));
console.log(" Changed files:");
console.log(files.map((str) => ` - ${str}`).join("\n"));