Describe the bug
node_modules/@vueuse/shared/index.d.ts:398:119 - error TS1128: Declaration or statement expected.
398 declare function makeDestructurable<T extends Record<string, unknown>, const A extends readonly any[]>(obj: T, arr: A): T & A;
~
Found 10 errors in the same file, starting at: node_modules/@vueuse/shared/index.d.ts:398
Reproduction
new version
System Info
System:
OS: macOS 14.2.1
CPU: (11) arm64 Apple M3 Pro
Memory: 96.42 MB / 18.00 GB
Shell: 5.9 - /bin/zsh
Binaries:
Node: 18.19.0 - ~/.nvm/versions/node/v18.19.0/bin/node
Yarn: 1.22.21 - ~/.nvm/versions/node/v18.19.0/bin/yarn
npm: 10.2.3 - ~/.nvm/versions/node/v18.19.0/bin/npm
pnpm: 8.15.4 - ~/.nvm/versions/node/v18.19.0/bin/pnpm
bun: 1.1.6 - ~/.bun/bin/bun
Browsers:
Chrome: 125.0.6422.113
Safari: 17.2.1
npmPackages:
@vueuse/core: ^10.10.0 => 10.10.0
vue: ^3.4.27 => 3.4.27
Used Package Manager
npm
Validations
Describe the bug
node_modules/@vueuse/shared/index.d.ts:398:119 - error TS1128: Declaration or statement expected.
398 declare function makeDestructurable<T extends Record<string, unknown>, const A extends readonly any[]>(obj: T, arr: A): T & A;
~
Found 10 errors in the same file, starting at: node_modules/@vueuse/shared/index.d.ts:398
Reproduction
new version
System Info
System: OS: macOS 14.2.1 CPU: (11) arm64 Apple M3 Pro Memory: 96.42 MB / 18.00 GB Shell: 5.9 - /bin/zsh Binaries: Node: 18.19.0 - ~/.nvm/versions/node/v18.19.0/bin/node Yarn: 1.22.21 - ~/.nvm/versions/node/v18.19.0/bin/yarn npm: 10.2.3 - ~/.nvm/versions/node/v18.19.0/bin/npm pnpm: 8.15.4 - ~/.nvm/versions/node/v18.19.0/bin/pnpm bun: 1.1.6 - ~/.bun/bin/bun Browsers: Chrome: 125.0.6422.113 Safari: 17.2.1 npmPackages: @vueuse/core: ^10.10.0 => 10.10.0 vue: ^3.4.27 => 3.4.27Used Package Manager
npm
Validations