Skip to content

Commit 576ef78

Browse files
committed
chore: add ts7 check
1 parent 7ae1712 commit 576ef78

2 files changed

Lines changed: 3 additions & 0 deletions

File tree

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,8 @@ preserved.
7171
## Development
7272

7373
- Run all checks: `deno task check`.
74+
- Try the experimental TypeScript 7 native checker: `deno task check:ts7`.
75+
Release CI continues to use Deno's stable default checker.
7476
- Run only tests: `deno task test` (requires
7577
`--allow-read --allow-write --allow-ffi --allow-env` because `sharp` uses
7678
native bindings, reads fixtures, and the `save()` test writes to a temporary

deno.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@
1717
},
1818
"tasks": {
1919
"check": "deno fmt --check && deno lint && deno check mod.ts && deno check --config docs/deno.json docs/main.ts && deno task test",
20+
"check:ts7": "deno check --unstable-tsgo mod.ts && deno check --unstable-tsgo --config docs/deno.json docs/main.ts && deno test --unstable-tsgo --allow-read --allow-write --allow-ffi --allow-env",
2021
"test": "deno test --allow-read --allow-write --allow-ffi --allow-env"
2122
},
2223
"imports": {

0 commit comments

Comments
 (0)