Skip to content

Commit d17e4e5

Browse files
authored
Merge pull request #1676 from christiango/christiango/type-imports
Use type import for TsoaRoute to ensure with verbatumModuleSyntax
2 parents 41297bc + b7dd116 commit d17e4e5

File tree

3 files changed

+6
-3
lines changed

3 files changed

+6
-3
lines changed

packages/cli/src/routeGeneration/templates/express.hbs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
/* tslint:disable */
22
/* eslint-disable */
33
// WARNING: This file was auto-generated with tsoa. Please do not modify it. Re-run tsoa to re-generate this file: https://github.com/lukeautry/tsoa
4-
import { TsoaRoute, fetchMiddlewares, ExpressTemplateService } from '@tsoa/runtime';
4+
import type { TsoaRoute } from '@tsoa/runtime';
5+
import { fetchMiddlewares, ExpressTemplateService } from '@tsoa/runtime';
56
{{#each controllers}}
67
// WARNING: This file was auto-generated with tsoa. Please do not modify it. Re-run tsoa to re-generate this file: https://github.com/lukeautry/tsoa
78
import { {{name}} } from '{{modulePath}}';

packages/cli/src/routeGeneration/templates/hapi.hbs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
/* tslint:disable */
22
/* eslint-disable */
33
// WARNING: This file was auto-generated with tsoa. Please do not modify it. Re-run tsoa to re-generate this file: https://github.com/lukeautry/tsoa
4-
import { TsoaRoute, fetchMiddlewares, HapiTemplateService } from '@tsoa/runtime';
4+
import type { TsoaRoute } from '@tsoa/runtime';
5+
import { fetchMiddlewares, HapiTemplateService } from '@tsoa/runtime';
56
{{#each controllers}}
67
// WARNING: This file was auto-generated with tsoa. Please do not modify it. Re-run tsoa to re-generate this file: https://github.com/lukeautry/tsoa
78
import { {{name}} } from '{{modulePath}}';

packages/cli/src/routeGeneration/templates/koa.hbs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
/* tslint:disable */
22
/* eslint-disable */
33
// WARNING: This file was auto-generated with tsoa. Please do not modify it. Re-run tsoa to re-generate this file: https://github.com/lukeautry/tsoa
4-
import { TsoaRoute, fetchMiddlewares, KoaTemplateService } from '@tsoa/runtime';
4+
import type { TsoaRoute } from '@tsoa/runtime';
5+
import { fetchMiddlewares, KoaTemplateService } from '@tsoa/runtime';
56
{{#each controllers}}
67
// WARNING: This file was auto-generated with tsoa. Please do not modify it. Re-run tsoa to re-generate this file: https://github.com/lukeautry/tsoa
78
import { {{name}} } from '{{modulePath}}';

0 commit comments

Comments
 (0)