Skip to content

Commit

Permalink
fix(@aws-amplify/auth) correct validationData type definition (#7100)
Browse files Browse the repository at this point in the history
  • Loading branch information
k-yle authored Feb 22, 2021
1 parent 0267dc5 commit cabcfac
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/auth/src/types/Auth.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
import {
ICookieStorageData,
ICognitoStorage,
CognitoUserAttribute,
ICognitoUserAttributeData,
} from 'amazon-cognito-identity-js';

/**
Expand All @@ -24,7 +24,7 @@ export interface SignUpParams {
username: string;
password: string;
attributes?: object;
validationData?: CognitoUserAttribute[];
validationData?: ICognitoUserAttributeData[];
clientMetadata?: { [key: string]: string };
}

Expand Down

0 comments on commit cabcfac

Please sign in to comment.