svenheden / csharp-models-to-typescript

C# models to TypeScript
88 stars 58 forks source link

Insert @deprecated comment when type is Obsolete in C# #59

Closed digocesar closed 3 months ago

digocesar commented 2 years ago

Adds @deprecated comment on typescript types when it has Obsolete attribute in C#.

It's looking for the [Obsolete] attribute on classes, interfaces and enums.

digocesar commented 1 year ago

Commits have been updated for the current master. ;)

digocesar commented 3 months ago

Commits have been updated for the current master.

digocesar commented 3 months ago

@SafeerH, this PR has a little more code changes. But I think it's interesting for the project, as it helps identify updates to the C# project that have marked properties as obsolete.

SafeerH commented 3 months ago

@SafeerH, this PR has a little more code changes. But I think it's interesting for the project, as it helps identify updates to the C# project that have marked properties as obsolete.

Very good!