Skip to content

Commit ec7ad41

Browse files
committed
Work around TS not liking the engagement DB overrides
1 parent 614c1cf commit ec7ad41

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/components/engagement/dto/engagement.dto.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ export const resolveEngagementType = (val: Pick<AnyEngagement, '__typename'>) =>
6565
* This should be used for GraphQL but never for TypeScript types.
6666
*/
6767
class Engagement extends ChangesetAwareResource {
68-
static readonly DB = abstractType(e.Engagement);
68+
static readonly DB: any = abstractType(e.Engagement);
6969
static readonly Props: string[] = keysOf<Engagement>();
7070
static readonly SecuredProps: string[] = keysOf<SecuredProps<Engagement>>();
7171
static readonly Parent = import('../../project/dto').then((m) => m.IProject);

0 commit comments

Comments
 (0)