New Gov Actions #48
Annotations
10 errors and 2 warnings
π Type Check
'inProgress' is declared but its value is never read.
|
π Type Check
'isActive' is declared but its value is never read.
|
π Type Check
'details' is declared but its value is never read.
|
π Type Check
'url' is declared but its value is never read.
|
π Type Check
Element implicitly has an 'any' type because expression of type 'string' can't be used to index type '{}'.
|
π Type Check
Element implicitly has an 'any' type because expression of type 'string' can't be used to index type '{}'.
|
π Type Check
Element implicitly has an 'any' type because expression of type 'string' can't be used to index type '{}'.
|
π Type Check
Type '{ createdDate: string; expiryDate: string; type: string; txHash: string; index: number; onClick: Mock<void, []>; }' is not assignable to type 'Partial<{ onClick?: (() => void) | undefined; inProgress?: boolean | undefined; txHash: string; index: number; isDataMissing: boolean; type: string; expiryDate: string; createdDate: string; }> & { ...; }'.
|
π Type Check
Object literal may only specify known properties, and 'shortenedGovActionId' does not exist in type 'Partial<{ abstainVotes: number; createdDate: string; details: unknown; expiryDate: string; noVotes: number; type: string; url: string; yesVotes: number; govActionId: string; isDashboard?: boolean | undefined; isVoter?: boolean | undefined; voteFromEP?: string | undefined; isInProgress?: boolean | undefined; }> & { ....'.
|
π Type Check
Type '{ votedProposal: { proposal: { createdDate: string; expiryDate: string; id: string; type: string; index: number; txHash: string; details: string; url: string; metadataHash: string; yesVotes: number; noVotes: number; abstainVotes: number; }; vote: { ...; }; }; }' is not assignable to type 'Partial<{ votedProposal: VotedProposal; isDataMissing: boolean; searchPhrase?: string | undefined; inProgress?: boolean | undefined; }> & { votedProposal: VotedProposal; isDataMissing: boolean; searchPhrase?: string | undefined; inProgress?: boolean | undefined; }'.
|
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/cache@v2. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/cache@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|
Loading