feat: add typescript declaration files

Types are automatically generated from the existsing
JSDoc comments in the js source code. Use `types:build`
script from `package.json` to produce d.ts files.
This commit is contained in:
2025-06-22 01:48:06 +03:00
parent a1b999ca4e
commit 7248a0096c
7 changed files with 256 additions and 14 deletions

View File

@ -8,7 +8,8 @@
"scripts": {
"test": "vitest run",
"test:watch": "vitest",
"typecheck": "tsc --noEmit"
"types:check": "tsc --noEmit",
"types:build": "tsc"
},
"repository": {
"type": "git",