Skip to content

Ensure mutators don't return a type through a build time error instead of a run time error#140

Merged
jarmit merged 7 commits intomasterfrom
u/jarmit/mutatorType
Mar 20, 2020
Merged

Ensure mutators don't return a type through a build time error instead of a run time error#140
jarmit merged 7 commits intomasterfrom
u/jarmit/mutatorType

Conversation

@jarmit
Copy link
Contributor

@jarmit jarmit commented Mar 20, 2020

No description provided.

let arg2Value;

let testMutatorAction = mutatorAction('testMutatorAction', function testMutatorAction(
let testMutatorAction = mutatorAction<void>('testMutatorAction', function testMutatorAction(
Copy link
Contributor

Choose a reason for hiding this comment

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

[](start = 45, length = 6)

Ugh. It makes you put this in? Can we default it to void so this isn't necessary?

@jarmit jarmit merged commit e964670 into master Mar 20, 2020
@jarmit jarmit deleted the u/jarmit/mutatorType branch March 20, 2020 21:44
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.

2 participants