-
Notifications
You must be signed in to change notification settings - Fork 205
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Import explicit types from @endo/marshal
#4413
Conversation
cf257c4
to
486f37e
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Same nit that I'd prefer if we kept using file extensions in type imports.
I'm wondering if this ends up working without the maxNodeModulesJsDepth
option because the types are explicitly imported?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If it weren't causing lint errors, it would LGTM ;)
486f37e
to
6ede1b0
Compare
6ede1b0
to
9c9485b
Compare
Rebased on top of #4420, added a few more explicit type import that were needed, and included the patch to the endo packages so that one can try this without jumping through hoops. |
It doesn't anymore ;) |
a9f3176
to
9dc29ca
Compare
9c9485b
to
7a08fc2
Compare
4449e2a
to
9324cfe
Compare
7a08fc2
to
b4d37ca
Compare
import('@endo/marshal/exported')
JSDoc@endo/marshal
b4d37ca
to
da5e766
Compare
Found a few other instances of ambient use, rebased and included the patch for the final version merged on the endo side. I think the best approach is to keep this in draft until @kriskowal bumps the versions, and then just use the first commit here. |
@@ -159,7 +159,7 @@ | |||
* @property {string} 0 Kernel slot designating the device node that is the target of | |||
* the invocation | |||
* @property {string} 1 A string naming the method to be invoked | |||
* @property {CapData} 2 A capdata object containing the arguments to the invocation | |||
* @property {import('@endo/marshal').CapData<unknown>} 2 A capdata object containing the arguments to the invocation |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@warner is this the right type?
closes: #XXXX
refs: #XXXX
Description
Informational for @kriskowal (and @mhofman if interested). This is the other side of endojs/endo#1025 , which must be merged before this work can continue.
Security Considerations
Documentation Considerations
Testing Considerations