Skip to content

Commit 052ad82

Browse files
committed
Add JSDoc based types
1 parent ab7a49d commit 052ad82

10 files changed

+422
-171
lines changed

.gitignore

+1
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ coverage/
22
node_modules/
33
/lib/
44
/index.js
5+
*.d.ts
56
*.log
67
.DS_Store
78
yarn.lock

dev/index.js

+9
Original file line numberDiff line numberDiff line change
@@ -1 +1,10 @@
1+
/**
2+
* @typedef {import('./lib/index.js').Value} Value
3+
* @typedef {import('./lib/index.js').Encoding} Encoding
4+
* @typedef {import('./lib/index.js').Options} Options
5+
* @typedef {import('./lib/index.js').Extension} Extension
6+
* @typedef {import('./lib/index.js').Handle} Handle
7+
* @typedef {import('./lib/index.js').Transform} Transform
8+
*/
9+
110
export {fromMarkdown} from './lib/index.js'

0 commit comments

Comments
 (0)