Zero-Codegen TypeScript Type Inference from Protobuf

2025-04-14
Zero-Codegen TypeScript Type Inference from Protobuf

protobuf-ts-types lets you define language-agnostic message types in proto format and infers TypeScript types directly without code generation. It cleverly leverages TypeScript's template literal types. While currently a proof-of-concept and lacking support for services, RPCs, oneof and map fields, and imports, it offers great potential for simplifying Protobuf integration with TypeScript.

Development Type Inference