Skip to content

Comments

Update Login-form.tsx#208

Closed
hypefi wants to merge 1 commit intoapollographql:masterfrom
hypefi:patch-1
Closed

Update Login-form.tsx#208
hypefi wants to merge 1 commit intoapollographql:masterfrom
hypefi:patch-1

Conversation

@hypefi
Copy link

@hypefi hypefi commented Mar 29, 2021

After got this error message

Failed to compile.

/Users/admin/Desktop/WORK/CODE/LEARNING/fullstack-tutorial/final/client/src/components/login-form.tsx
TypeScript error in /Users/admin/Desktop/WORK/CODE/LEARNING/fullstack-tutorial/final/client/src/components/login-form.tsx(14,38):
Namespace '"/Users/admin/Desktop/WORK/CODE/LEARNING/fullstack-tutorial/final/client/src/pages/__generated__/login"' has no exported member 'loginVariables'.  TS2694

    12 | 
    13 | interface LoginFormProps {
  > 14 |   login: (a: { variables: LoginTypes.loginVariables }) => void;
       |                                      ^
    15 | }
    16 | 
    17 | interface LoginFormState {

After got this error message
```
Failed to compile.

/Users/admin/Desktop/WORK/CODE/LEARNING/fullstack-tutorial/final/client/src/components/login-form.tsx
TypeScript error in /Users/admin/Desktop/WORK/CODE/LEARNING/fullstack-tutorial/final/client/src/components/login-form.tsx(14,38):
Namespace '"/Users/admin/Desktop/WORK/CODE/LEARNING/fullstack-tutorial/final/client/src/pages/__generated__/login"' has no exported member 'loginVariables'.  TS2694

    12 | 
    13 | interface LoginFormProps {
  > 14 |   login: (a: { variables: LoginTypes.loginVariables }) => void;
       |                                      ^
    15 | }
    16 | 
    17 | interface LoginFormState {
```
@apollo-cla
Copy link

@hypefi: Thank you for submitting a pull request! Before we can merge it, you'll need to sign the Apollo Contributor License Agreement here: https://contribute.apollographql.com/

@StephenBarlow
Copy link
Contributor

Thanks for the PR! This is resolved with #237.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants