Skip to content

Commit

Permalink
[RWeb] Fix linting errors
Browse files Browse the repository at this point in the history
  • Loading branch information
kneth committed Mar 30, 2021
1 parent 3099afa commit 6af8ff8
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
3 changes: 1 addition & 2 deletions packages/realm-web/src/User.ts
Original file line number Diff line number Diff line change
Expand Up @@ -76,8 +76,7 @@ export class User<
FunctionsFactoryType extends object = Realm.DefaultFunctionsFactory,
CustomDataType extends object = any,
UserProfileDataType = Realm.DefaultUserProfileData
>
implements
> implements
Realm.User<FunctionsFactoryType, CustomDataType, UserProfileDataType> {
/**
* The app that this user is associated with.
Expand Down
6 changes: 3 additions & 3 deletions packages/realm-web/src/tests/OAuth2Helper.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -43,9 +43,9 @@ describe("OAuth2Helper", () => {
return null;
});

const credentials = Credentials.google<
Realm.Credentials.OAuth2RedirectPayload
>("http://localhost:1337/callback");
const credentials = Credentials.google<Realm.Credentials.OAuth2RedirectPayload>(
"http://localhost:1337/callback",
);
expect(typeof credentials.payload.redirectUrl).equals("string");

const state = helper.generateState();
Expand Down

0 comments on commit 6af8ff8

Please sign in to comment.