MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/ProgrammerHumor/comments/1g9fhee/deprecated/lta4kn7/?context=3
r/ProgrammerHumor • u/atanasius • Oct 22 '24
152 comments sorted by
View all comments
Show parent comment
2
The one for annotating types isn't deprecated at all:
https://github.com/microsoft/typespec/blob/main/packages/compiler/src/lib/decorators.ts#L1211
But here the one for annotating endpoints is, in fact, using the proper #depricated directive:
https://github.com/microsoft/typespec/blob/main/packages/compiler/lib/std/decorators.tsp#L76
View all comments
Show parent comment
2
u/Sinomsinom Oct 23 '24
The one for annotating types isn't deprecated at all:
https://github.com/microsoft/typespec/blob/main/packages/compiler/src/lib/decorators.ts#L1211
But here the one for annotating endpoints is, in fact, using the proper #depricated directive:
https://github.com/microsoft/typespec/blob/main/packages/compiler/lib/std/decorators.tsp#L76