Skip to content

Commit 12f7f9b

Browse files
committed
Add JSDoc based types
1 parent 1076942 commit 12f7f9b

11 files changed

+299
-398
lines changed

.gitignore

+1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
.DS_Store
2+
*.d.ts
23
*.log
34
coverage/
45
node_modules/

index.js

+4
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,6 @@
1+
/**
2+
* @typedef {import('./lib/index.js').Schema} Schema
3+
*/
4+
15
export {sanitize} from './lib/index.js'
26
export {defaultSchema} from './lib/schema.js'

0 commit comments

Comments
 (0)