Skip to content

Commit

Permalink
[frontend] fix typescript
Browse files Browse the repository at this point in the history
  • Loading branch information
labo-flg committed Jun 3, 2024
1 parent cc2a1a4 commit 7a5cd19
Showing 1 changed file with 1 addition and 12 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -42,18 +42,7 @@ const CreatorFieldQuery = graphql`
}
`;

type CreatorNode = {
readonly effective_confidence_level: {
readonly max_confidence: number;
readonly overrides: ReadonlyArray<{
readonly entity_type: string;
readonly max_confidence: number;
}>;
} | null | undefined;
readonly entity_type: string;
readonly id: string;
readonly name: string;
};
type CreatorNode = NonNullable<CreatorFieldSearchQuery$data['members']>['edges'][number]['node'];

type CreatorOption = Option & {
extra?: ReactNode,
Expand Down

0 comments on commit 7a5cd19

Please sign in to comment.