You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is what I see in my editor (VS Code) after following the Usage section of the README:
Maybe the module isn't updated on npm, but I'd expect to see the experience you're getting when developing locally. I don't want to memorize the CloudEvent properties of course.
In the above picture, it looks like we're using typescript types (: any, :CloudEvent), which is good.
Activity
lance commentedon May 18, 2020
@grant can you show more of the code here? How are you creating
ce?grant commentedon May 18, 2020
Is how you create the
ce. Doesn't really matter what's in theCloudEventclass.lance commentedon May 18, 2020
So, I guess I'm not clear on what should change, because this is possible today. Am I missing something?
grant commentedon May 18, 2020
This is what I see in my editor (VS Code) after following the Usage section of the README:
Maybe the module isn't updated on npm, but I'd expect to see the experience you're getting when developing locally. I don't want to memorize the CloudEvent properties of course.
In the above picture, it looks like we're using typescript types (
: any,:CloudEvent), which is good.lance commentedon May 19, 2020
No, the module is not published on npm with these changes yet. You should try from
master.grant commentedon May 19, 2020
OK. Got it. I'll keep this issue open until we publish to npm then. A user can't really build all npm dependencies from source of course.
lance commentedon May 27, 2020
2.0.0 released today, including type definitions.