3 ms·
What do you use to go from ts->pb?
by tantalor 2y ago
What do you use to go from ts->pb?
- deleted 2y ago[deleted]
- jitl 2y agoI have an old public version here: https://github.com/justjake/ts-simple-type/blob/main/src/compile-to/proto3.ts https://github.com/justjake/ts-simple-type/blob/main/src/com... Ultimately i decided ts-simple-type is too difficult to maintain, so now I just use the TypeScript compiler API directly to introspect types and emit stuff, but most of that code is private to Notion Labs Inc