Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

regression: shorthand property in template (v0.34.2) #1159

Closed
cexbrayat opened this issue Apr 10, 2022 · 2 comments
Closed

regression: shorthand property in template (v0.34.2) #1159

cexbrayat opened this issue Apr 10, 2022 · 2 comments
Labels
duplicate This issue or pull request already exists

Comments

@cexbrayat
Copy link
Member

Bumping from 0.33.9 to 0.34.2, we get these kinds of error in some templates:

<p>{{ t('live.start', { startInstant }) }}</p>
src/views/Live.vue:18:29 - error TS18004: No value exists in scope for the shorthand property 'startInstant'. Either declare one or provide an initializer.

18     <p>{{ t('live.start', { startInstant }) }}</p>

This was previously compiling fine. It can be worked around by using startInstant: startInstant.

@johnsoncodehk
Copy link
Member

Duplicate of #1156

@johnsoncodehk johnsoncodehk marked this as a duplicate of #1156 Apr 10, 2022
@johnsoncodehk johnsoncodehk added the duplicate This issue or pull request already exists label Apr 10, 2022
@cexbrayat
Copy link
Member Author

Sorry @johnsoncodehk , I missed this one 🙏

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
duplicate This issue or pull request already exists
Projects
None yet
Development

No branches or pull requests

2 participants