File tree 1 file changed +6
-6
lines changed
1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -29,19 +29,19 @@ export interface SchemaRestPullRequestActivityUpdated
29
29
}
30
30
31
31
export function isSchemaRestPullRequestActivityCommented (
32
- activity : SchemaRestPullRequestActivity ,
32
+ activity ? : SchemaRestPullRequestActivity | SchemaRestPullRequestActivityBase ,
33
33
) : activity is SchemaRestPullRequestActivityCommented {
34
- return activity . action === "COMMENTED"
34
+ return activity ? .action === "COMMENTED"
35
35
}
36
36
37
37
export function isSchemaRestPullRequestActivityOpened (
38
- activity : SchemaRestPullRequestActivity ,
38
+ activity ? : SchemaRestPullRequestActivity | SchemaRestPullRequestActivityBase ,
39
39
) : activity is SchemaRestPullRequestActivityOpened {
40
- return activity . action === "OPENED"
40
+ return activity ? .action === "OPENED"
41
41
}
42
42
43
43
export function isSchemaRestPullRequestActivityUpdated (
44
- activity : SchemaRestPullRequestActivity ,
44
+ activity ? : SchemaRestPullRequestActivity | SchemaRestPullRequestActivityBase ,
45
45
) : activity is SchemaRestPullRequestActivityUpdated {
46
- return activity . action === "UPDATED"
46
+ return activity ? .action === "UPDATED"
47
47
}
You can’t perform that action at this time.
0 commit comments