Skip to content

fix(almin): make UseCaseExecutor#execute type complete#355

Merged
azu merged 5 commits intomasterfrom
work-context-execute-typeing
Aug 25, 2018
Merged

fix(almin): make UseCaseExecutor#execute type complete#355
azu merged 5 commits intomasterfrom
work-context-execute-typeing

Conversation

@azu
Copy link
Copy Markdown
Member

@azu azu commented Aug 22, 2018

This PR will fix the caveats of #342

type Arguments<F extends (...x: any[]) => any> =
        F extends (...x: infer A) => any ? A : never;

Refs #342
fix #107

@azu azu mentioned this pull request Aug 25, 2018
4 tasks
@azu azu merged commit 6009aa8 into master Aug 25, 2018
@azu azu deleted the work-context-execute-typeing branch August 25, 2018 03:05
@azu azu mentioned this pull request Aug 25, 2018
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.

TypeScript: improve UseCase#execute typing

1 participant