Skip to content

Commit 56e124b

Browse files
Merge pull request #40 from yelixjs/fix/explicit-type-ctx
fix(APIReferenceBase): Add type annotation for ctx parameter
2 parents 57e9a46 + c249edf commit 56e124b

4 files changed

Lines changed: 4 additions & 4 deletions

File tree

deno.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "@murat/yelix",
33
"exports": "./mod.ts",
4-
"version": "0.1.44",
4+
"version": "0.1.45",
55
"license": "MIT",
66
"nodeModulesDir": "auto",
77
"tasks": {

jsr.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@murat/yelix",
3-
"version": "0.1.44",
3+
"version": "0.1.45",
44
"license": "MIT",
55
"exports": {
66
".": "./mod.ts",

src/OpenAPI/APIReferences/base.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ class APIReferenceBase {
2323
}
2424

2525
serve(yelix: Yelix): void {
26-
yelix.app.get(this.path, (ctx) => {
26+
yelix.app.get(this.path, (ctx: Ctx) => {
2727
return this.getResponse(ctx);
2828
});
2929
}

version.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
const version = "0.1.44";
1+
const version = "0.1.45";
22
export default version;

0 commit comments

Comments
 (0)