app.use Expected 2 arguments ,but got1
Vue version
vue@^3.2.26
Link to minimal reproduction
none
Steps to reproduce
yarn.lock
vue@^3.2.26: version "3.2.47" integrity sha1-Prc2y8YG/IcDjbumoVRwfIo0z/A= dependencies: "@vue/compiler-dom" "3.2.47" "@vue/compiler-sfc" "3.2.47" "@vue/runtime-dom" "3.2.47" "@vue/server-renderer" "3.2.47" "@vue/shared" "3.2.47"
What is expected?
freedom from error
What is actually happening?
Expected 2 arguments, but got 1.
System Info
No response
Any additional comments?
No response
Reproducible project: https://bitbucket.org/hongquan/vue-wrong-argument-for-use
❯ yarn build
yarn run v1.22.19
$ vue-tsc && vite build
src/main.ts:22:5 - error TS2554: Expected 2 arguments, but got 1.
22 app.use(fluent)
~~~~~~~~~~~
node_modules/@vue/runtime-core/dist/runtime-core.d.ts:78:63
78 use<Options extends unknown[]>(plugin: Plugin_2<Options>, ...options: Options): this;
~~~~~~~~~~~~~~~~~~~
Arguments for the rest parameter 'options' were not provided.
Found 1 error in src/main.ts:22