File tree Expand file tree Collapse file tree 2 files changed +13
-4
lines changed
Expand file tree Collapse file tree 2 files changed +13
-4
lines changed Original file line number Diff line number Diff line change @@ -69,7 +69,16 @@ the former.
6969deno add jsr:@knight/knight
7070```
7171
72- ` /index.ts `
72+ ` deno.json `
73+
74+ ``` json
75+ "compilerOptions" : {
76+ "experimentalDecorators" : true ,
77+ "emitDecoratorMetadata" : true
78+ }
79+ ```
80+
81+ ` index.ts `
7382
7483``` ts
7584import { Knight } from " @knight/knight" ;
@@ -93,7 +102,7 @@ define your own custom endpoints using the `@Endpoint` decorator.
93102
94103<br />
95104
96- ` / controller/UserController.ts`
105+ ` controller/UserController.ts `
97106
98107``` ts
99108import {
@@ -139,7 +148,7 @@ that the property is optional to body mapping functions.
139148
140149<br />
141150
142- ` / model/User.ts`
151+ ` model/User.ts `
143152
144153``` ts
145154import { Optional } from " @knight/knight" ;
Original file line number Diff line number Diff line change 11{
22 "name" : " @knight/knight" ,
3- "version" : " 0.1 .0" ,
3+ "version" : " 2.3 .0" ,
44 "license" : " MIT" ,
55 "exports" : " ./mod.ts" ,
66 "imports" : {
You can’t perform that action at this time.
0 commit comments