Skip to content

Commit 5115d27

Browse files
committed
Fix types for typescript@5.7
1 parent 73fd802 commit 5115d27

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

packages/sanitize-schema/lib/index.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ assert(defaultSchema.attributes)
99
assert(defaultSchema.tagNames)
1010

1111
/**
12-
* @satisfies {Schema}
12+
* @type {Schema}
1313
*/
1414
export const sanitizeSchema = {
1515
...defaultSchema,

packages/sanitize-schema/test/index.js

+1
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,7 @@ test('fixtures', async function (t) {
6565
}
6666

6767
const attributes = [...all].sort().join(' ')
68+
assert(sanitizeSchema.tagNames)
6869

6970
for (const tagName of sanitizeSchema.tagNames) {
7071
await fs.writeFile(

0 commit comments

Comments
 (0)