fix: incorporating suggestions #6
Annotations
10 errors
Build:
src/handlers/contrib-reward.ts#L12
Property 'comment' does not exist on type '({ action: "created"; comment: { author_association: "COLLABORATOR" | "CONTRIBUTOR" | "FIRST_TIMER" | "FIRST_TIME_CONTRIBUTOR" | "MANNEQUIN" | "MEMBER" | "NONE" | "OWNER"; body: string; ... 9 more ...; user: { ...; } | null; }; ... 4 more ...; sender: { ...; }; } & { ...; }) | ... 40 more ... | ({ ...; } & { ...; })'.
|
Build:
src/handlers/contrib-reward.ts#L14
Property 'issue' does not exist on type '({ action: "created"; comment: { author_association: "COLLABORATOR" | "CONTRIBUTOR" | "FIRST_TIMER" | "FIRST_TIME_CONTRIBUTOR" | "MANNEQUIN" | "MEMBER" | "NONE" | "OWNER"; body: string; ... 9 more ...; user: { ...; } | null; }; ... 4 more ...; sender: { ...; }; } & { ...; }) | ... 40 more ... | ({ ...; } & { ...; })'.
|
Build:
src/handlers/contrib-reward.ts#L28
Property 'actor' does not exist on type '{ id: number; node_id: string; url: string; actor: { name?: string | null | undefined; email?: string | null | undefined; login: string; id: number; node_id: string; avatar_url: string; gravatar_id: string | null; ... 13 more ...; starred_at?: string | undefined; }; ... 5 more ...; label: { ...; }; } | ... 20 more ....'.
|
Build:
src/handlers/contrib-reward.ts#L38
Property 'issue' does not exist on type '({ action: "created"; comment: { author_association: "COLLABORATOR" | "CONTRIBUTOR" | "FIRST_TIMER" | "FIRST_TIME_CONTRIBUTOR" | "MANNEQUIN" | "MEMBER" | "NONE" | "OWNER"; body: string; ... 9 more ...; user: { ...; } | null; }; ... 4 more ...; sender: { ...; }; } & { ...; }) | ... 40 more ... | ({ ...; } & { ...; })'.
|
Build:
src/plugin.ts#L6
'"./handlers/contrib-reward"' has no exported member named 'contribReward'. Did you mean 'contributorReward'?
|
Build:
tests/main.test.ts#L45
Property 'comment' does not exist on type '({ action: "created"; comment: { author_association: "COLLABORATOR" | "CONTRIBUTOR" | "FIRST_TIMER" | "FIRST_TIME_CONTRIBUTOR" | "MANNEQUIN" | "MEMBER" | "NONE" | "OWNER"; body: string; ... 9 more ...; user: { ...; } | null; }; ... 4 more ...; sender: { ...; }; } & { ...; }) | ... 40 more ... | ({ ...; } & { ...; })'.
|
Build:
tests/main.test.ts#L106
Property 'issue' does not exist on type '({ action: "created"; comment: { author_association: "COLLABORATOR" | "CONTRIBUTOR" | "FIRST_TIMER" | "FIRST_TIME_CONTRIBUTOR" | "MANNEQUIN" | "MEMBER" | "NONE" | "OWNER"; body: string; ... 9 more ...; user: { ...; } | null; }; ... 4 more ...; sender: { ...; }; } & { ...; }) | ... 40 more ... | ({ ...; } & { ...; })'.
|
Build:
tests/main.test.ts#L109
Property 'comment' does not exist on type '({ action: "created"; comment: { author_association: "COLLABORATOR" | "CONTRIBUTOR" | "FIRST_TIMER" | "FIRST_TIME_CONTRIBUTOR" | "MANNEQUIN" | "MEMBER" | "NONE" | "OWNER"; body: string; ... 9 more ...; user: { ...; } | null; }; ... 4 more ...; sender: { ...; }; } & { ...; }) | ... 40 more ... | ({ ...; } & { ...; })'.
|
Build:
tests/main.test.ts#L138
Property 'issue' does not exist on type '({ action: "created"; comment: { author_association: "COLLABORATOR" | "CONTRIBUTOR" | "FIRST_TIMER" | "FIRST_TIME_CONTRIBUTOR" | "MANNEQUIN" | "MEMBER" | "NONE" | "OWNER"; body: string; ... 9 more ...; user: { ...; } | null; }; ... 4 more ...; sender: { ...; }; } & { ...; }) | ... 40 more ... | ({ ...; } & { ...; })'.
|
Build:
tests/main.test.ts#L139
Property 'comment' does not exist on type '({ action: "created"; comment: { author_association: "COLLABORATOR" | "CONTRIBUTOR" | "FIRST_TIMER" | "FIRST_TIME_CONTRIBUTOR" | "MANNEQUIN" | "MEMBER" | "NONE" | "OWNER"; body: string; ... 9 more ...; user: { ...; } | null; }; ... 4 more ...; sender: { ...; }; } & { ...; }) | ... 40 more ... | ({ ...; } & { ...; })'.
|
Loading