What does typescript do in element-ui?

clipboard.png
clipboard.png
1. The first picture shows that the element-ui package is quoted from the second picture of the index.d.ts file.
Why is this?
2. There is also a ts file I built myself, which only declares a Boolean variable. The error is reported when it is introduced into the project, but why not report the error when the ts file is also cited by element-UI? What on earth are these ts files written in
3.element-ui for?


you'll know after reading this PR .
https://github.com/ElemeFE/el...

types is for people who use typescript . If you need to build it yourself, for example, use webpack .


clipboard.png
tselement-uielement-ui.common.js


.d.tstypescriptjs

.d.tsideideide.d.ts

.d.ts

ts.d.tsjs.d.ts.d.ts

ide.d.ts

.d.ts:

CatmewCat

Catidemew

.d.ts

MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1b3fb58-2bd01.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1b3fb58-2bd01.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?