Skip to content

Commit

Permalink
fix: include code.js in tsconfig (#623)
Browse files Browse the repository at this point in the history
- use suggested inline ignore comment
- update copyAssets to copy openapi spec to
  correct directory
  • Loading branch information
ecshreve authored Dec 4, 2024
1 parent c02b11a commit 3a03353
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion src/js/code.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
function update(call) {// eslint-disable-line
// eslint-disable-next-line @typescript-eslint/no-unused-vars
function update(call) {
$('#interactive').val(call);
interactive_call();
}
Expand Down
2 changes: 1 addition & 1 deletion tools/copyAssets.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,4 @@ shell.mkdir('-p', 'dist');
shell.cp('-R', 'src/css', 'dist/src');
shell.cp('-R', 'src/public', 'dist/src');
shell.cp('-R', 'src/views', 'dist/src');
shell.cp('-R', 'src/swagger/dist', 'dist/src/swagger');
shell.cp('-R', 'src/swagger/api-spec', 'dist/src/swagger');
1 change: 1 addition & 0 deletions tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,7 @@
"skipLibCheck": true /* Skip type checking all .d.ts files. */
},
"include": [
"src/js/**/*.js",
"src/**/*.ts",
"tools/**/*.ts",
"jest.config.integration.ts",
Expand Down

0 comments on commit 3a03353

Please sign in to comment.