remove some redundant casts

This commit is contained in:
Johannes Loher 2021-02-05 02:52:55 +01:00
parent 2641b1ee74
commit b8d11fa5cd
4 changed files with 5 additions and 5 deletions

View file

@ -10,7 +10,7 @@ class DefaultCheckOptions implements DS4CheckFactoryOptions {
readonly rollMode: DS4RollMode = "roll";
mergeWith(other: Partial<DS4CheckFactoryOptions>): DS4CheckFactoryOptions {
return { ...this, ...other } as DS4CheckFactoryOptions;
return { ...this, ...other };
}
}