-
-
Notifications
You must be signed in to change notification settings - Fork 438
not unwrapping DistributeRef<>
for destructed props
#4820
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
Labels
bug
Something isn't working
Comments
n0099
added a commit
to n0099/open-tbm
that referenced
this issue
Sep 6, 2024
… @ `<PostBadgeCommon>` $ git checkout 2567a86^1 src/components/post/badge/{Common,Time}.vue # to fix vuejs/language-tools#4820 + type `PostID` to reuse union `Tid | Pid | Spid` * rename the original type `PostID` to `PostIDStr` @ index.ts * rename prop `selector` to `el` in the returned value of `postListItemScrollPosition()` for matching with type `RouterScrollBehavior`, partial revert fec399a @ post/renderer/list/scroll.ts @ utils @ fe
Unfortunately, it works well on my machine without any errors. |
Did you ran |
n0099
added a commit
to n0099/open-tbm
that referenced
this issue
Sep 19, 2024
* fix vueuse/vueuse#4216 @ utils/echarts.ts * fix typescript-eslint/typescript-eslint#9706 @ api/index.ts * fix violation of eslitn rule `@stylistic/indent` @ pages/posts.vue $ git checkout 982e84b^1 src/components/post/badge/{Common,Time}.vue # to fix vuejs/language-tools#4820 @ fe
n0099
added a commit
to n0099/open-tbm
that referenced
this issue
Sep 19, 2024
* fix vueuse/vueuse#4216 @ utils/echarts.ts * fix typescript-eslint/typescript-eslint#9706 @ api/index.ts * fix violation of eslitn rule `@stylistic/indent` @ pages/posts.vue $ git checkout 982e84b^1 src/components/post/badge/{Common,Time}.vue # to fix vuejs/language-tools#4820 @ fe $ git ls-files -z | xargs -0 sed -i 's/\t/ /g'
It's not fixed for me: https://github.com/n0099/open-tbm/actions/runs/10940746849/job/30373829157 |
This pr has not been released. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Vue - Official extension or vue-tsc version
both 2.1.6
VSCode version
1.93.0
Vue version
3.5.1
TypeScript version
5.5.4
System Info
package.json dependencies
https://github.com/n0099/open-tbm/blob/2567a865f055a64629633a812ecd59197411bbca/fe/package.json
Steps to reproduce
https://github.com/n0099/open-tbm/blob/2567a865f055a64629633a812ecd59197411bbca/fe/src/components/post/badge/Time.vue#L6
What is expected?
Not reporting.
What is actually happening?
Link to minimal reproduction
https://github.com/n0099/open-tbm/blob/2567a865f055a64629633a812ecd59197411bbca/fe
Any additional comments?
Not destructing props will fix this:
Another example can be found at https://github.com/n0099/open-tbm/blob/2567a865f055a64629633a812ecd59197411bbca/fe/src/components/post/badge/Common.vue#L3
Another typing error for prop
timestampType
is already reported as #4798The text was updated successfully, but these errors were encountered: