Closed turadg closed 10 months ago
@turadg any reason the PassableCap
were restored, but not the Passable
from #1928 ?
@turadg any reason the
PassableCap
were restored, but not thePassable
from #1928 ?
Because only the PassableCap was mentioned in the linked thread.
They're both any
until https://github.com/endojs/endo/pull/1933 so I don't think it's worth more attention atm.
Description
In a recent review it came up that type imports to
@endo/marshal
were coming through asany
. https://github.com/endojs/endo/pull/1928#discussion_r1445345893The cause was that the
maxNodeModuleJsDepth
was 0, the default for tsconfig.json (as opposed to 2 for jsconfig.json). This bumps it to 1 to get the types from @endo/pass-style.It also adds a regression test, which failed before the change.
As a bit of housekeeping it also bumps some typescript deps and refreshes the coverage report.
Security Considerations
Scaling Considerations
Documentation Considerations
Testing Considerations
Upgrade Considerations