I maintain some analysers for C# code and TypeScript code. Those analysers shall skip generated code.
In C# it is rather simple because such class has attrribute System.CodeDom.Compiler.GeneratedCode.
But how about TypeScript? How can I generically recognize that the code is generated?
// @begin-generated-codeand// @end-generated-codeto delimit the code that your analyser should ignore. Otherwise you could use heuristics like ignoring variables and functions whose names match some pattern.