Read JsonWebKey from webcrypto, where @types/node 26 exports it

This commit is contained in:
2026-11-08 23:13:58 +01:00
parent 3f07c3e649
commit 1304cdae56
7 changed files with 16 additions and 9 deletions
+2 -1
View File
@@ -1,6 +1,7 @@
import assert from "node:assert/strict";
import { generateKeyPairSync, sign } from "node:crypto";
import type { JsonWebKey, KeyObject } from "node:crypto";
import type { KeyObject } from "node:crypto";
import type { JsonWebKey } from "./jwks.ts";
import { test } from "node:test";
import { decodeJws, verifyJws } from "./jwt.ts";