Commit graph

2 commits

Author SHA1 Message Date
Manuel Bahamóndez-Honores
e47fd0c102 Remove placeholder comments from type definitions 2026-01-24 08:53:04 -03:00
Manuel Bahamóndez-Honores
1f0b684beb Add TypeScript type declarations
- Add index.d.ts with comprehensive type definitions for all exported classes
- Include type declarations for Connection, NodeJSSerialConnection, and other connection types
- Add types for Constants, Advert, Packet, BufferUtils, and CayenneLpp
- Add type declarations for submodules (constants, buffer_reader, buffer_writer)
- Update package.json to reference the types file

This enables TypeScript users to have proper type checking and autocomplete when using the library.
2026-01-24 08:47:07 -03:00