Skip to content

Commit 17fd926

Browse files
authored
docs: fix README.md (#97)
1 parent 2ba0768 commit 17fd926

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Diff for: README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ The JSON structure returned by the `overview` method is like the following:
103103
// it contains the same structure we are describing
104104
],
105105
"decorators": { // all the instance decorators | app.decorate('foo-bar', 42)
106-
"decorate": [ { "name": "foo-bar" } ], // the decorators' name
106+
"decorate": [ { "name": "foo-bar", "type": "number" } ], // the decorators' name
107107
"decorateRequest": [], // app.decorateRequest('foo-bar', 42)
108108
"decorateReply": [] // app.decorateReply('foo-bar', 42)
109109
},
@@ -248,7 +248,7 @@ Here an example of the cleaned output:
248248
"name": "async function (instance, opts) { -- instance.decorateReply('oneRep', {})",
249249
"decorators": {
250250
"decorateReply": [
251-
{ "name": "oneRep" }
251+
{ "name": "oneRep", "type": "object" }
252252
]
253253
}
254254
}

0 commit comments

Comments
 (0)