Skip to content

Commit 7cbe941

Browse files
Merge pull request #6 from WilliamRagstad/develop
2 parents c9896e1 + 47df12b commit 7cbe941

File tree

2 files changed

+13
-4
lines changed

2 files changed

+13
-4
lines changed

README.md

Lines changed: 12 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,16 @@ the former.
6969
deno 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
7584
import { 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
99108
import {
@@ -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
145154
import { Optional } from "@knight/knight";

deno.json

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

0 commit comments

Comments
 (0)