diff --git a/clients/node/index.d.ts b/clients/node/index.d.ts new file mode 100644 index 0000000..9fd3fcb --- /dev/null +++ b/clients/node/index.d.ts @@ -0,0 +1,13 @@ +/** + * TypeScript declaration file for @setuav/mavlink2grpc-proto + */ + +/** + * Path to the main MAVLink bridge proto definition file (mavlink_bridge.proto) + */ +export const protoPath: string; + +/** + * Directory containing all the MAVLink dialect proto definition files + */ +export const protoDir: string; diff --git a/clients/node/package.json b/clients/node/package.json index c0a5c44..0eeaea2 100644 --- a/clients/node/package.json +++ b/clients/node/package.json @@ -3,9 +3,11 @@ "version": "0.0.1", "description": "Node.js gRPC Protocol Buffer definitions for MAVLink2gRPC", "main": "index.js", + "types": "index.d.ts", "files": [ "proto", "index.js", + "index.d.ts", "README.md" ], "repository": {