Skip to content

chore(almin): export interface insteadof UseCaseExecutorImpl#247

Merged
azu merged 1 commit intomasterfrom
export-interface-insteadof-impl
Jul 16, 2017
Merged

chore(almin): export interface insteadof UseCaseExecutorImpl#247
azu merged 1 commit intomasterfrom
export-interface-insteadof-impl

Conversation

@azu
Copy link
Copy Markdown
Member

@azu azu commented Jul 16, 2017

Export UseCaseExecutor interface insteadof UseCaseExecutorImpl.
It is more safer for user.
I think that the user can't create new UseCaseExecutor.
So, we should not export UseCaseExecutorImpl

// For TypeScript
import * as StoreGroupTypes from "./UILayer/StoreGroupTypes";
export { StoreGroupTypes };
export { UseCaseExecutor } from "./UseCaseExecutor";
Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

It is a interface.

@azu azu mentioned this pull request Jul 16, 2017
@azu azu merged commit f6f5bd7 into master Jul 16, 2017
@azu azu deleted the export-interface-insteadof-impl branch July 17, 2017 05:38
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.

1 participant