Skip to content

Commit 4eb0f92

Browse files
authored
Improve typescript documentation
1 parent b269dc2 commit 4eb0f92

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

README.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,14 @@ const gmail = new GmailFactory.Gmail() as Gmail;
6969
// working on the gmail-object now provides type-safety.
7070
````
7171

72+
You will also have to import the types somewhere, like in a file called `types.d.ts` in your project:
73+
74+
````typescript
75+
import "gmail-js";
76+
````
77+
78+
79+
7280
## Methods
7381

7482
### Summary (click for more info)

0 commit comments

Comments
 (0)