File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -29,19 +29,19 @@ export interface SchemaRestPullRequestActivityUpdated
2929}
3030
3131export function isSchemaRestPullRequestActivityCommented (
32- activity : SchemaRestPullRequestActivity ,
32+ activity ? : SchemaRestPullRequestActivity | SchemaRestPullRequestActivityBase ,
3333) : activity is SchemaRestPullRequestActivityCommented {
34- return activity . action === "COMMENTED"
34+ return activity ? .action === "COMMENTED"
3535}
3636
3737export function isSchemaRestPullRequestActivityOpened (
38- activity : SchemaRestPullRequestActivity ,
38+ activity ? : SchemaRestPullRequestActivity | SchemaRestPullRequestActivityBase ,
3939) : activity is SchemaRestPullRequestActivityOpened {
40- return activity . action === "OPENED"
40+ return activity ? .action === "OPENED"
4141}
4242
4343export function isSchemaRestPullRequestActivityUpdated (
44- activity : SchemaRestPullRequestActivity ,
44+ activity ? : SchemaRestPullRequestActivity | SchemaRestPullRequestActivityBase ,
4545) : activity is SchemaRestPullRequestActivityUpdated {
46- return activity . action === "UPDATED"
46+ return activity ? .action === "UPDATED"
4747}
You can’t perform that action at this time.
0 commit comments