Skip to content

Conversation

@PeterKottas
Copy link
Contributor

Just fixed errors typescript was complaining about.

@PeterKottas PeterKottas mentioned this pull request Feb 22, 2018
}

export type BaseAuthConfiguration =
| {
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm pretty sure this was a style choice that @jevakallio introduced using an automated prettier format. Have you accidentally skipped our lint-staged formatting? https://github.com/FormidableLabs/react-native-app-auth/blob/master/package.json#L18-L19

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ah ok, I see. Never seen it written like that, it reads like "nothing or this or that" to me so I was afraid if it wouldn't accept nothing the way it was. Hope that makes sense :D Anyways, I've reverted it. Rest should be good to go in.

};

export interface AuthConfiguration extends BaseAuthConfiguration {
export type AuthConfiguration = BaseAuthConfiguration & {
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This looks good to me. Good catch!

@kitten kitten requested a review from kadikraman February 23, 2018 00:01
@kadikraman kadikraman merged commit deeb5fd into FormidableLabs:master Feb 23, 2018
@PeterKottas
Copy link
Contributor Author

👍

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