Sniberb
Sniberb14mo ago

snowberb – 15-28 Jun 27

How can I mark a function as deprecated so it appears crossed out in the IDE?
7 Replies
lebouwski
lebouwski14mo ago
/** @deprecated use bar instead */
export const foo = () => {};
/** @deprecated use bar instead */
export const foo = () => {};
Sniberb
Sniberb14mo ago
doesnt work in webstorm 😭
Unknown User
Unknown User13mo ago
Message Not Public
Sign In & Join Server To View
Sniberb
Sniberb13mo ago
last version?
Unknown User
Unknown User13mo ago
Message Not Public
Sign In & Join Server To View
Sniberb
Sniberb13mo ago
shit I was using /* */ instead of /** */ thank you!!
reactibot
reactibot13mo ago
This thread hasn’t had any activity in 36 hours, so it’s now locked. Threads are closed automatically after 36 hours. If you have a followup question, you may want to reply to this thread so other members know they're related. https://discord.com/channels/102860784329052160/565213527673929729/1123273765577572372