Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Turn prettier back on and just use the comment to ignore places that TS2.9 doesn't like #1174

Merged
merged 1 commit into from
Jul 5, 2018
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 1 addition & 4 deletions modules/effects/src/effects_metadata.ts
Original file line number Diff line number Diff line change
Expand Up @@ -40,10 +40,7 @@ export function getSourceForInstance<T>(instance: T): T {
}

export function getSourceMetadata<T>(instance: T): Array<EffectMetadata<T>> {
return compose(
getEffectMetadataEntries,
getSourceForInstance
)(instance);
return compose(getEffectMetadataEntries, getSourceForInstance)(instance);
}

export type EffectsMetadata<T> = { [key in keyof T]?: { dispatch: boolean } };
Expand Down
1 change: 1 addition & 0 deletions modules/store-devtools/src/reducer.ts
Original file line number Diff line number Diff line change
Expand Up @@ -330,6 +330,7 @@ export function liftReducerWith(
skippedActionIds,
committedState,
currentStateIndex,
// prettier-ignore
computedStates
} = liftedAction.nextLiftedState);
break;
Expand Down
2 changes: 1 addition & 1 deletion prettier.config.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
module.exports = {
singleQuote: true,
trailingComma: 'none',
trailingComma: 'es5',
};