Skip to content

Commit 87b11d6

Browse files
committed
fixing build issue
1 parent 4daa263 commit 87b11d6

File tree

3 files changed

+5
-26202
lines changed

3 files changed

+5
-26202
lines changed

bun.lockb

670 KB
Binary file not shown.

libs/frontend/pages/home/src/components/home/page-home.component.ts

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
import { CommonModule } from '@angular/common';
22
import { ChangeDetectionStrategy, Component, inject } from '@angular/core';
3-
import { Apollo, gql } from 'apollo-angular';
3+
import { TypedDocumentNode } from '@apollo/client/core';
4+
import { Apollo } from 'apollo-angular';
5+
46
import { derivedAsync } from 'ngxtension/derived-async';
57

68
@Component({
@@ -16,14 +18,14 @@ export class PageHomeComponent {
1618

1719
exampleFetch = derivedAsync(() =>
1820
this.apollo.query({
19-
query: gql`
21+
query: `
2022
query Profile {
2123
me {
2224
id
2325
name
2426
}
2527
}
26-
`,
28+
` as unknown as TypedDocumentNode,
2729
}),
2830
);
2931
}

0 commit comments

Comments
 (0)