Skip to content

Commit 7f239f4

Browse files
committed
use tsgo and fix some types
1 parent 12e2cc0 commit 7f239f4

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ jobs:
5858
cache: npm
5959
node-version: '22'
6060
- run: npm ci
61-
- run: npx tsc
61+
- run: npx tsgo
6262
- run: npm run lint
6363

6464
deno:

test/decode-blob.test.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import { encode, decode, decodeAsync } from "../src/index.ts";
33

44
(typeof Blob !== "undefined" ? describe : describe.skip)("Blob", () => {
55
it("decodes it with `decode()`", async function () {
6-
const blob = new Blob([encode("Hello!")]);
6+
const blob = new Blob([encode("Hello!") as BlobPart]);
77
// eslint-disable-next-line @typescript-eslint/no-unnecessary-condition
88
if (!blob.arrayBuffer) {
99
this.skip();
@@ -12,7 +12,7 @@ import { encode, decode, decodeAsync } from "../src/index.ts";
1212
});
1313

1414
it("decodes it with `decodeAsync()`", async function () {
15-
const blob = new Blob([encode("Hello!")]);
15+
const blob = new Blob([encode("Hello!") as BlobPart]);
1616
// eslint-disable-next-line @typescript-eslint/no-unnecessary-condition
1717
if (!blob.stream) {
1818
this.skip();

0 commit comments

Comments
 (0)