Last active
October 31, 2021 21:24
-
-
Save przemyslawjanpietrzak/5c49ca1b97b67e84e578d08af99b2a5c to your computer and use it in GitHub Desktop.
literal-types-vuex.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
dispatch( | |
`${module2Namespace}/actionB2`, | |
payload, | |
{ root: true }, | |
); // ERROR: Argument of type 'string' is not assignable to parameter of type '"module2Namespace/actionB1" | ""module2Namespace/actionB1"' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment