Skip to content

Commit

Permalink
Fix in TypeScript syntax (#46)
Browse files Browse the repository at this point in the history
  • Loading branch information
devinstewart authored Jan 12, 2023
1 parent 839cb1c commit b768440
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ validator.validate(payloadFromRequest, (err, validPayload) => {
### TypeScript
TypeScript is also supported by using:
```typescript
import Validator from 'sns-payload-validator';
import * as Validator from 'sns-payload-validator';
```

If you want to use the `SnsPayload` interface, you can import it using:
Expand Down

0 comments on commit b768440

Please sign in to comment.