Fix linting errors in TypeScript namespace generation by zengin · Pull Request #279 · microsoftgraph/MSGraph-SDK-Code-Generator

Summary

This is fixing the issues found by dtslint. (thanks @nikithauc).

  1. Double empty lines are removed.
  2. export in subnamespace types are removed as they are not needed.

Generated code differences

Code diff can be seen in the test changes.

Command line arguments to run these changes

.\Typewriter.exe -v Info -m 'https://raw.githubusercontent.com/microsoftgraph/msgraph-metadata/master/clean_v10_metadata/cleanMetadataWithDescriptionsv1.0.xml' -o .\TypeScriptLintFixesV1\ -g Files -l TypeScript

.\Typewriter.exe -v Info -m 'https://raw.githubusercontent.com/microsoftgraph/msgraph-metadata/master/clean_beta_metadata/cleanMetadataWithDescriptionsbeta.xml' -o .\TypeScriptLintFixesBeta\ -g Files -l TypeScript

Links to issues or work items this PR addresses

AB#5029