next.js
f121fbe2 - chore(turbo-tasks): Add a lint for `Vc<T>` in turbo-tasks types (#73298)

Commit
1 year ago
chore(turbo-tasks): Add a lint for `Vc<T>` in turbo-tasks types (#73298) ### What? Add a lint for `Vc<T>` in structs or enums with `#[turbo_tasks::value]`. ### Why? We need to change them to `ResolvedVc<T>` so I'm adding a lint to check make it easier. ### How? I asked a question of `ast-grep` discord. - https://discord.com/channels/1107749847722889217/1113524796316200980/1311549077275676753
Author
Parents
Loading