Skip to content

Commit

Permalink
Remove generate-toc script
Browse files Browse the repository at this point in the history
  • Loading branch information
anttiviljami committed Nov 6, 2024
1 parent 237d5cc commit 20bf21c
Show file tree
Hide file tree
Showing 4 changed files with 63 additions and 108 deletions.
141 changes: 62 additions & 79 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 0 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,6 @@
"@typescript-eslint/parser": "^6.7.4",
"eslint": "^8.51.0",
"jest": "^29.7.0",
"markdown-toc": "^1.2.0",
"prettier": "^3.0.0",
"source-map-support": "^0.5.10",
"ts-jest": "^29.1.1",
Expand All @@ -75,7 +74,6 @@
"watch-build": "tsc -w",
"lint": "eslint src/ --ext ts",
"prettier": "prettier --write src/**",
"toc": "./scripts/generate-toc.js",
"prepublishOnly": "npm run build && npm run toc",
"test": "NODE_ENV=test jest"
},
Expand Down
26 changes: 0 additions & 26 deletions scripts/generate-toc.js

This file was deleted.

2 changes: 1 addition & 1 deletion src/backend.ts
Original file line number Diff line number Diff line change
Expand Up @@ -494,7 +494,7 @@ export class OpenAPIBackend<D extends Document = Document> {
* @param {Handler} handler
* @memberof OpenAPIBackend
*/
public register(operationId: string, handler: Handler): void;
public register<OperationHandler = Handler>(operationId: string, handler: OperationHandler): void;

/**
* Overloaded register() implementation
Expand Down

0 comments on commit 20bf21c

Please sign in to comment.