Add TypeScript definitions and update package configuration

Added TypeScript type definitions in `lib.d.ts` to improve developer experience and ensure type safety. Updated `package.json` to include the new "types" field and modified `.gitignore` to exclude additional unwanted files.
This commit is contained in:
2024-11-14 15:15:07 -05:00
parent 85a9fc67d3
commit 3fa4d72eca
3 changed files with 54 additions and 1 deletions

View File

@@ -5,6 +5,7 @@
"description": "for building dynamic, LLM-driven workflows using a region-based execution model",
"main": "lib.js",
"module": "lib.js",
"types": "lib.d.ts",
"exports": {
".": {
"import": "./lib.js",