DebugAH

How to Solve Your Programmer Error

Skip to content
  • Home
  • Linux
  • JAVA
  • Python
  • Javasript
  • MYSQL
  • Windows
  • Error

Vue3 cannot assign type ‘{}’ to type ‘internalattributes & (partial < {[x: number]: string;} | {} >

environment

vscode

typescript4

vue3

Problem description

Error reporting of imported sub components

Problem solving

Remove the empty props and other useless optional APIs defined in the subcomponent.

Similar Posts:

  • How to Solve Vue3 ts setup getCurrentInstance Error
  • TypeScript error TS1005: ‘;’ expected [How to Solve]
  • React + typescript error collection [How to Solve]
  • [Solved] Vetur Plugin Warning: [vue-language-server] Elements in iteration expect to have ‘v-bind:key’ directives
  • [Solved] Vue3 Import Cutomize Components Error: Cannot find module ‘xxx‘ or its corresponding type declarations
  • Fatal error: unexpectedly found nil while unwrapping an Optional value
  • How to deal with the error “cannot read property ‘set state’ of undefined” in react
  • [Solved] VS Code Error: Running the contributed command: ‘_workbench.downloadResource‘ failed
  • Ionic Error: Failed to load resource [How to Solve]

This entry was posted in Error and tagged “{}”, “IntrinsicAttributes & (Partial<{ [x: number]: string; }, {}> ..., Vue3 on December 9, 2021 by Robins.

Post navigation

← [Solved] Could not match supplied host pattern, ignoring: 192.168.0.101 [Solved] SparkSQL Error: org.apache.hadoop.security.HadoopKerberosName.setRuleMechanism →

Recent Posts

  • [Solved] The bean ‘sysDictService’ could not be injected because it is a JDK dynamic proxy
  • How to Use awk to Analyze Nginx Log
  • [Solved] Win-KeX/wsl2/kali Startup Error: A fatal error has occurred and VcXsrv will now exit.
  • [Solved] samtools: error while loading shared libraries: libcrypto.so.1.0.0: cannot open shared object file
  • k8s Error: [ERROR FileAvailable–etc-kubernetes-kubelet.conf]: /etc/kubernetes/kubelet.conf already exists
  • [Solved] NoSuchMethodError: org.springframework.boot.web.servlet.error.ErrorController.getErrorPath
  • [Solved] flink web ui Submit Task Error: Server Respoonse Message-Internal server error
  • Mysql Error: 1140 – In aggregated query without GROUP BY, expression #2 of SELECT list contains nonaggregated column ‘a.store’; this is incompatible with sql_mode=only_full_group_by
  • [Solved] Mybatis multi-table query error: Column ‘id’ in field list is ambiguous
  • [Solved] fluentd Log Error: read timeout reached

Tags

  • )
  • android
  • android studio
  • CentOS
  • centos7
  • chrome
  • DebugAH
  • django
  • docker
  • eclipse
  • git
  • github
  • go
  • hadoop
  • Hive
  • IDEA
  • ios
  • java
  • jenkins
  • Linux
  • Mac
  • maven
  • MyBatis
  • mysql
  • nginx
  • No module named XXX error
  • npm
  • Oracle
  • php
  • pip
  • pycharm
  • Python
  • Python TypeError
  • redis
  • shell
  • spring
  • springBoot
  • ssh
  • SVN
  • tensorflow
  • tomcat
  • ubuntu
  • vue
  • Windows
  • Yum
Proudly powered by WordPress