ElemeFE / ElemeFE/element

[Feature Request] 局部注册的组件TS类型检测报错,但是不影响程序使用。

Open
#20,489 1 comment 0 reactions 0 assignees View on GitHub
stale
Dominant language
Vue
Stars
54k
Forks
14.4k
PR merge metrics
No merged PRs in 30d

Description

### Existing Component

### Component Name
ElContainer

### Description
1. 采用局部注册的方式引入组件,例如ElContainer,ts语法检测出现红色波浪线,但是不影响程序运行。

2.报错描述:
![image](https://user-images.githubusercontent.com/24352260/100334015-31510200-300e-11eb-8c9d-caf7d4c94945.png)

3. tsconfig.json 配置:
![image](https://user-images.githubusercontent.com/24352260/100334075-44fc6880-300e-11eb-8d20-01931e69d004.png)

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.