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
static getStatus = (i: IssueBean): string => {
return (i as any).fields.status.name;
}
If I cast the issue to "any" it work, otherwise I get a compile error because "fields" doesn't have a type definition. Is there a better way to handle this? Do I need to install the types for the library?
Hi, I am reading the status from an issue:
If I cast the issue to "any" it work, otherwise I get a compile error because "fields" doesn't have a type definition. Is there a better way to handle this? Do I need to install the types for the library?
Thanks, really appreciate your work!
Originally posted by @manupiastra in #123
The text was updated successfully, but these errors were encountered: