Vida Xie
Vida Xie
Fixed some wrong types based on source code. Closes: #7427 , #7205
### Check that this is really a bug - [X] I confirm ### Reproduction link https://codesandbox.io/p/devbox/swiper-types-error-demo-9p5yv3?file=%2Fsrc%2FApp.vue%3A10%2C39&layout=%257B%2522sidebarPanel%2522%253A%2522EXPLORER%2522%252C%2522rootPanelGroup%2522%253A%257B%2522direction%2522%253A%2522horizontal%2522%252C%2522contentType%2522%253A%2522UNKNOWN%2522%252C%2522type%2522%253A%2522PANEL_GROUP%2522%252C%2522id%2522%253A%2522ROOT_LAYOUT%2522%252C%2522panels%2522%253A%255B%257B%2522type%2522%253A%2522PANEL_GROUP%2522%252C%2522contentType%2522%253A%2522UNKNOWN%2522%252C%2522direction%2522%253A%2522vertical%2522%252C%2522id%2522%253A%2522clubf0vj30006356kcpghbkkt%2522%252C%2522sizes%2522%253A%255B100%252C0%255D%252C%2522panels%2522%253A%255B%257B%2522type%2522%253A%2522PANEL_GROUP%2522%252C%2522contentType%2522%253A%2522EDITOR%2522%252C%2522direction%2522%253A%2522horizontal%2522%252C%2522id%2522%253A%2522EDITOR%2522%252C%2522panels%2522%253A%255B%257B%2522type%2522%253A%2522PANEL%2522%252C%2522contentType%2522%253A%2522EDITOR%2522%252C%2522id%2522%253A%2522clubf0vj30002356kh61yntcj%2522%257D%255D%257D%252C%257B%2522type%2522%253A%2522PANEL_GROUP%2522%252C%2522contentType%2522%253A%2522SHELLS%2522%252C%2522direction%2522%253A%2522horizontal%2522%252C%2522id%2522%253A%2522SHELLS%2522%252C%2522panels%2522%253A%255B%257B%2522type%2522%253A%2522PANEL%2522%252C%2522contentType%2522%253A%2522SHELLS%2522%252C%2522id%2522%253A%2522clubf0vj30004356kl0senu1u%2522%257D%255D%252C%2522sizes%2522%253A%255B100%255D%257D%255D%257D%252C%257B%2522type%2522%253A%2522PANEL_GROUP%2522%252C%2522contentType%2522%253A%2522DEVTOOLS%2522%252C%2522direction%2522%253A%2522vertical%2522%252C%2522id%2522%253A%2522DEVTOOLS%2522%252C%2522panels%2522%253A%255B%257B%2522type%2522%253A%2522PANEL%2522%252C%2522contentType%2522%253A%2522DEVTOOLS%2522%252C%2522id%2522%253A%2522clubf0vj30005356k10uzr06g%2522%257D%255D%252C%2522sizes%2522%253A%255B100%255D%257D%255D%252C%2522sizes%2522%253A%255B40%252C60%255D%257D%252C%2522tabbedPanels%2522%253A%257B%2522clubf0vj30002356kh61yntcj%2522%253A%257B%2522id%2522%253A%2522clubf0vj30002356kh61yntcj%2522%252C%2522tabs%2522%253A%255B%257B%2522id%2522%253A%2522clubgf56l0002356l50bb61ai%2522%252C%2522mode%2522%253A%2522permanent%2522%252C%2522type%2522%253A%2522FILE%2522%252C%2522initialSelections%2522%253A%255B%257B%2522startLineNumber%2522%253A10%252C%2522startColumn%2522%253A39%252C%2522endLineNumber%2522%253A10%252C%2522endColumn%2522%253A39%257D%255D%252C%2522filepath%2522%253A%2522%252Fsrc%252FApp.vue%2522%252C%2522state%2522%253A%2522IDLE%2522%257D%255D%252C%2522activeTabId%2522%253A%2522clubgf56l0002356l50bb61ai%2522%257D%252C%2522clubf0vj30005356k10uzr06g%2522%253A%257B%2522id%2522%253A%2522clubf0vj30005356k10uzr06g%2522%252C%2522activeTabId%2522%253A%2522clubf1ei000cl356kiwtqy92y%2522%252C%2522tabs%2522%253A%255B%257B%2522type%2522%253A%2522TASK_PORT%2522%252C%2522taskId%2522%253A%2522pnpm%2520run%2520dev%2522%252C%2522port%2522%253A5173%252C%2522id%2522%253A%2522clubf1ei000cl356kiwtqy92y%2522%252C%2522mode%2522%253A%2522permanent%2522%252C%2522path%2522%253A%2522%252F%2522%257D%255D%257D%252C%2522clubf0vj30004356kl0senu1u%2522%253A%257B%2522id%2522%253A%2522clubf0vj30004356kl0senu1u%2522%252C%2522tabs%2522%253A%255B%257B%2522id%2522%253A%2522clubf0vj30003356kdt1m0cfx%2522%252C%2522mode%2522%253A%2522permanent%2522%252C%2522type%2522%253A%2522TERMINAL%2522%252C%2522shellId%2522%253A%2522clubf0ytj0008dkfegmyebojn%2522%257D%252C%257B%2522type%2522%253A%2522TASK_LOG%2522%252C%2522taskId%2522%253A%2522pnpm%2520run%2520dev%2522%252C%2522id%2522%253A%2522clubf1a03007t356ktpilzie2%2522%252C%2522mode%2522%253A%2522permanent%2522%257D%255D%252C%2522activeTabId%2522%253A%2522clubf1a03007t356ktpilzie2%2522%257D%257D%252C%2522showDevtools%2522%253Atrue%252C%2522showShells%2522%253Afalse%252C%2522showSidebar%2522%253Atrue%252C%2522sidebarPanelSize%2522%253A15%257D ### Bug description The type of `effectInit` in `swiper-effect-utils.d.ts` does not match the type...
I got a type error when using lodash. If you change it to typeof, it works. ### Checklist * [x] I can reproduce this issue when running this plugin on...
### Before submitting the PR, please make sure you do the following - [x] Read the [Contributing Guidelines](https://github.com/vueuse/vueuse/blob/main/CONTRIBUTING.md). - [x] Read the [Pull Request Guidelines](https://github.com/vueuse/vueuse/blob/main/packages/guidelines.md). - [x] Check that there...
When I was using Vite, I found the shortcuts like 'o' and 'c' incredibly useful. They were a lifesaver. Therefore, I believe the config inspector could benefit from having similar...
### Before submitting the PR, please make sure you do the following - [x] Read the [Contributing Guidelines](https://github.com/vueuse/vueuse/blob/main/CONTRIBUTING.md). - [x] Read the [Pull Request Guidelines](https://github.com/vueuse/vueuse/blob/main/packages/guidelines.md). - [x] Check that there...
### Clear and concise description of the problem In some cases, you need to synchronize as much time as possible with the server, and the client's time is not completely...
### Cocos Creator version 3.8.3 ### System information Windows 11 Editor ### Issue description ``` import { Node, director } from 'cc'; class AudioManager { private static _inst: AudioManager; public...
### Cocos Creator version 3.8.4 ### System information Windows 11 Editor ### Issue description > 注:`sp.Skeleton`的`animationCacheMode`为`SHARED_CACHE`,且开启了`enableBatch` 使用`nodePool`加载节点,在回收节点时在`unuse`将`prefab`中一个`sp.Skeleton`的`skeletonData`设置为`null`。 重新取用节点并给它动态加载赋值`skeletonData`,动画无法正常播放报错(原因是`_skeleton`属性为`null`,没有被重新赋值) ### Relevant error log output ``` TypeError: Cannot read properties of null...
Currently, both block-related and object-related rules handle type nodes (type-alias, interface, enum). This overlap might lead to unintended rule conflicts or duplicated checks. I suggest categorizing these nodes as `object-like`...