Skip to content

Commit 0d28062

Browse files
committed
fix: include code.js in tsconfig
- use suggested inline ignore comment - update copyAssets to copy openapi spec to correct directory
1 parent c02b11a commit 0d28062

File tree

3 files changed

+4
-2
lines changed

3 files changed

+4
-2
lines changed

src/js/code.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
1-
function update(call) {// eslint-disable-line
1+
// eslint-disable-next-line @typescript-eslint/no-unused-vars
2+
function update(call) {
23
$('#interactive').val(call);
34
interactive_call();
45
}

tools/copyAssets.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,4 @@ shell.mkdir('-p', 'dist');
66
shell.cp('-R', 'src/css', 'dist/src');
77
shell.cp('-R', 'src/public', 'dist/src');
88
shell.cp('-R', 'src/views', 'dist/src');
9-
shell.cp('-R', 'src/swagger/dist', 'dist/src/swagger');
9+
shell.cp('-R', 'src/swagger/api-spec', 'dist/src/swagger');

tsconfig.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -91,6 +91,7 @@
9191
"skipLibCheck": true /* Skip type checking all .d.ts files. */
9292
},
9393
"include": [
94+
"src/js/**/*.js",
9495
"src/**/*.ts",
9596
"tools/**/*.ts",
9697
"jest.config.integration.ts",

0 commit comments

Comments
 (0)