useshortcut / shortcut-client-js

The official JavaScript client library for the Shortcut (formerly Clubhouse) REST API.
https://useshortcut.github.io/shortcut-client-js/
133 stars 31 forks source link

Type StoryChange does not include new external_links property #100

Closed MattieTK closed 3 years ago

MattieTK commented 3 years ago

Hi there,

I get this type error when building and trying to add a change via clubhouseClient.updateStory that includes external_links as a property, even though this works with type safety off.

Type error: Argument of type '{ external_links: any[]; }' is not assignable to parameter of type 'StoryChange'.
--

I think it's because in Types.ts there's no entry for external_links in the StoryChange type.

Thanks