We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent aaab887 commit 25be4a0Copy full SHA for 25be4a0
1 file changed
docs/setup/typescript.md
@@ -15,7 +15,7 @@ npm install typedrest --save
15
Create an `EntryEndpoint` pointing at your API:
16
17
```typescript
18
-import {EntryEndpoint} from 'typedrest';
+import {EntryEndpoint} from 'typedrest.endpoints';
19
20
const client = new EntryEndpoint(new URL("https://example.com/api/"));
21
```
@@ -25,7 +25,7 @@ const client = new EntryEndpoint(new URL("https://example.com/api/"));
25
Extend `EntryEndpoint` and expose your API's resources as properties:
26
27
28
-import {EntryEndpoint, CollectionEndpoint} from 'typedrest';
+import {EntryEndpoint, CollectionEndpoint} from 'typedrest.endpoints';
29
30
class MyClient extends EntryEndpoint {
31
get contacts() {
0 commit comments