Skip to content

Commit

Permalink
refactor: removes enforced/restrictive typing on ApolloClient (#53)
Browse files Browse the repository at this point in the history
* refactor: align typing on ApolloClient

* chore: add changeset
  • Loading branch information
aaronvanston authored Jun 9, 2020
1 parent 97cb5cf commit 8a6a69d
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .changeset/three-jars-collect.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'wingman-fe': minor
---

Remove enforced typing on client (ApolloClient) for LocationSuggest
2 changes: 1 addition & 1 deletion fe/lib/components/LocationSuggest/LocationSuggest.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ import { LOCATION_SUGGEST } from './queries';
interface FieldProps extends ComponentPropsWithRef<typeof TextField> {}

interface Props extends Omit<FieldProps, 'value' | 'onChange'> {
client?: ApolloClient<Record<string, unknown>>;
client?: ApolloClient<unknown>;
debounceDelay?: number;
first?: number;
usageTypeCode?: string;
Expand Down

0 comments on commit 8a6a69d

Please sign in to comment.