You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jan 18, 2022. It is now read-only.
Error: .../Desktop/alias-typescript2/src/util/ChildClass.vue?rollup-plugin-vue=script.ts(12,22): semantic error TS2339: Property 'getName' does not exist on type 'ChildClass'.
at error (...\node_modules\rollup\dist\rollup.js:5351:30)
at throwPluginError (...\node_modules\rollup\dist\rollup.js:11916:12)
at Object.error (...\node_modules\rollup\dist\rollup.js:11971:24)
at Object.error (...\node_modules\rollup\dist\rollup.js:12363:38)
at RollupContext.error ...\Desktop\alias-typescript2\node_modules\rollup-plugin-typescript2\dist\rollup-plugin-typescript2.cjs.js:17194:30)
at lodash_3 ...\Desktop\alias-typescript2\node_modules\rollup-plugin-typescript2\dist\rollup-plugin-typescript2.cjs.js:24958:23)
at arrayEach ...\Desktop\alias-typescript2\node_modules\rollup-plugin-typescript2\dist\rollup-plugin-typescript2.cjs.js:534:11)
at forEach ...\Desktop\alias-typescript2\node_modules\rollup-plugin-typescript2\dist\rollup-plugin-typescript2.cjs.js:9360:14)
at printDiagnostics ...\Desktop\alias-typescript2\node_modules\rollup-plugin-typescript2\dist\rollup-plugin-typescript2.cjs.js:24931:5)
at Object.transform ...\Desktop\alias-typescript2\node_modules\rollup-plugin-typescript2\dist\rollup-plugin-typescript2.cjs.js:27373:17)
at Promise.resolve.then (...\node_modules\rollup\dist\rollup.js:12083:25)
As you can see src/typescript/ChildClass.ts is exactly the same like the .vue component and builds perfectly fine. The .vue component breaks the build process however. To me it looks like code passed from rollup-plugin-vue to rollup-plugin-typescript2 is errorneous.
EDIT: As soon as the ChildClass extends something different than Vue, the build breaks.
The text was updated successfully, but these errors were encountered:
Version
5.1.1
Reproduction link
https://github.com/johannes-z/alias-typescript2-vue
Steps to reproduce
yarn or npm install
yarn build or npm run build
What is expected?
Successfully emitting `./dist/index.js
What is actually happening?
As you can see
src/typescript/ChildClass.ts
is exactly the same like the.vue
component and builds perfectly fine. The.vue
component breaks the build process however. To me it looks like code passed fromrollup-plugin-vue
torollup-plugin-typescript2
is errorneous.EDIT: As soon as the
ChildClass
extends something different thanVue
, the build breaks.The text was updated successfully, but these errors were encountered: