Skip to content

Improve TypeScript Template #1334

Closed
Closed
@aersam

Description

@aersam

The templates in https://github.com/swagger-api/swagger-codegen/tree/master/modules/swagger-codegen/src/main/resources/TypeScript-Angular should be updated to use TS 1.6 best practices:

  • No more use var keyword. Use let and cost instead (TsLint Config Value: no-var-keyword)
  • Use namespace keyword instead of module keyword (TsLint Config Value: no-internal-module)
  • Why are classes used for models? I think interfaces would be better

I'd make a pull request if desired.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions