Home
Sign Up
Sign In
V2EX
›
问与答
请问 Vue 3 如何使用 TS 的装饰器呀
liuy1994g
·
Jan 19, 2021
· 1805 views
This topic created in 2114 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
·
5205 Online
Highest 6679
·
Select Language
创意工作者们的社区
World is powered by solitude
VERSION: 3.9.8.5 · 31ms ·
UTC 00:15
·
PVG 08:15
·
LAX 16:15
·
JFK 19:15
♥ Do have faith in what you're doing.
❯