-
-
Notifications
You must be signed in to change notification settings - Fork 507
Closed
Labels
Description
No idea why @types/node got injected.
pnpm 6.32.1, monorepo
➜ npm run lint:vuetsc
> @adtalos/dashboard@0.0.0 lint:vuetsc
> vue-tsc --noEmit
src/components/dynamic_material/download.ts:39:37 - error TS2551: Property 'pipeTo' does not exist on type 'ReadableStream'. Did you mean 'pipe'?
39 await new Blob([buffer]).stream().pipeTo(writable);
~~~~~~
../node_modules/.pnpm/@types+node@17.0.21/node_modules/@types/node/globals.d.ts:197:9
197 pipe<T extends WritableStream>(destination: T, options?: { end?: boolean | undefined; }): T;
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
'pipe' is declared here.
Found 1 error.tsconfig.json
{
"extends": "../tsconfig.json",
"compilerOptions": {
"lib": ["esnext", "dom"],
"types": ["vite/client", "wicg-file-system-access", "unplugin-icons/types/vue"],
"baseUrl": "./"
}
},
"include": [
".eslintrc.js",
"*.js",
"**/*.ts",
"**/*.vue"
]
}../tsconfig.json
{
"compilerOptions": {
"types": [],
"target": "esnext",
"module": "esnext",
"moduleResolution": "node",
"strict": true,
"skipLibCheck": true,
"jsx": "preserve",
"sourceMap": true,
"resolveJsonModule": true,
"esModuleInterop": true
}
}