v0.0.52
What's Changed
- Fixes a regression where nested types were not consumable:
[tsserver 2702] [E] 'Foo' only refers to a type, but is being used as a namespace here.
- Removes
dist
from public import paths. This impacts users that importtwirpscript/dist/node
and users that make direct invocations of the compiler instead of usingnpx twirpscript
, likebuf
users. The following changes are necessary for those users to migrate:// some node client -import { nodeHttpTransport } from "twirpscript/dist/node"; +import { nodeHttpTransport } from "twirpscript/node";
// buf.gen.yaml -path: ./node_modules/twirpscript/dist/compiler.js +path: ./node_modules/twirpscript/compiler.js
Full Changelog: v0.0.51...v0.0.52