Home
Sign Up
Sign In
V2EX
›
问与答
请问 Vue 3 如何使用 TS 的装饰器呀
liuy1994g
·
Jan 19, 2021
· 1816 views
This topic created in 2125 days ago, the information mentioned may be changed or developed.
加了装饰器报了堆错,google 也没查出个原因来,eslint 中也加了
legacyDecorators: true
的配置
装饰器
Vue
eslint
true
1 replies
•
2021-01-19 15:38:35 +08:00
noe132
Jan 19, 2021
1
decorator 是 class, class field 的语法
https://es6.ruanyifeng.com/#docs/decorator
About
·
Help
·
Advertise
·
Blog
·
API
·
FAQ
·
Privacy
·
Solana
·
1859 Online
Highest 6679
·
Select Language
创意工作者们的社区
World is powered by solitude
VERSION: 3.9.8.5 · 27ms ·
UTC 01:39
·
PVG 09:39
·
LAX 17:39
·
JFK 20:39
♥ Do have faith in what you're doing.
❯