Skip to content

Commit

Permalink
fix: regular the ts-nocheck directive
Browse files Browse the repository at this point in the history
  • Loading branch information
shijistar committed May 6, 2024
1 parent e126c6e commit 1b57906
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "swagger-api-hub",
"version": "1.2.0",
"version": "1.2.1",
"description": "Generate front-end access code for swagger backend services in one click",
"keywords": [
"OpenApi",
Expand All @@ -27,6 +27,7 @@
"bin",
"lib",
"templates",
"cover.webp",
"CHANGELOG.md"
],
"scripts": {
Expand Down
2 changes: 1 addition & 1 deletion templates/api.ejs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<%
// modified based on swagger-typescript-api v13.0.3
%>
// @ts-nocheck: No need to check generated files
// @ts-nocheck
<%
const { utils, route, config, apiConfig, modelTypes } = it;
const { _, pascalCase, require } = utils;
Expand Down
2 changes: 1 addition & 1 deletion templates/data-contracts.ejs
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
// @ts-nocheck: No need to check generated files
// @ts-nocheck

<%~ includeFile('@base/data-contracts.eta', it) %>

0 comments on commit 1b57906

Please sign in to comment.