Skip to content
This repository was archived by the owner on Feb 26, 2024. It is now read-only.

Commit 14345d3

Browse files
committed
fix: more TS markings for README (#55)
1 parent f143ccc commit 14345d3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ in the manner of a RESTy web api.
1818
It natively handles URI patterns in the form :base/:collectionName/:id?
1919

2020
Examples:
21-
```
21+
```ts
2222
// for store with a 'heroes' collection
2323
GET api/heroes // all heroes
2424
GET api/heroes/42 // the character with id=42
@@ -128,7 +128,7 @@ e.g., `yourInMemDbService["get"](interceptorArgs)`.
128128
Your method must return an `Observable<Response>`
129129
130130
The `HttpMethodInterceptorArgs` (as of this writing) are:
131-
```
131+
```ts
132132
requestInfo: RequestInfo; // parsed request
133133
db: Object; // the current in-mem database collections
134134
config: InMemoryBackendConfigArgs; // the current config

0 commit comments

Comments
 (0)