Agregar declaracion de tipos TypeScript para webmcp.js

- src/webmcp.d.ts con tipos para la API publica (WebMCP, options, handlers)
- package.json: campo "types" apuntando al .d.ts
This commit is contained in:
2026-02-13 03:32:13 -06:00
parent 480d4d618e
commit d5a912be97
2 changed files with 53 additions and 0 deletions

View File

@@ -3,6 +3,7 @@
"version": "0.2.0",
"description": "Fork de WebMCP con registro dinamico de herramientas - Nucleo Rio Frio",
"main": "src/websocket-server.js",
"types": "src/webmcp.d.ts",
"bin": {
"@nucleoriofrio/webmcp": "./build/index.js"
},