Skip to content

Commit

Permalink
Merge pull request #121 from jeffreypriebe/docs/correct-typescript-im…
Browse files Browse the repository at this point in the history
…port-examples

Docs: Correct TypeScript imports statement
  • Loading branch information
Bhushankumar L committed Feb 8, 2020
2 parents f75f478 + 295cc45 commit 3996899
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ var amazonMws = require('amazon-mws')('AWS_ACCESS_KEY_ID','AWS_SECRET_ACCESS_KEY

## Configuration Using TypeScript
```typescript
import * as MwsApi from 'amazon-mws';
import MwsApi from 'amazon-mws';

const amazonMws = new MwsApi();
amazonMws.setApiKey(accessKey, accessSecret);
Expand Down
2 changes: 1 addition & 1 deletion examples/typeScript/reports/getReport.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
const accessKey = process.env.AWS_ACCESS_KEY_ID || 'YOUR_KEY';
const accessSecret = process.env.AWS_SECRET_ACCESS_KEY || 'YOUR_SECRET';

import * as MwsApi from 'amazon-mws';
import MwsApi from 'amazon-mws';

const amazonMws = new MwsApi();
amazonMws.setApiKey(accessKey, accessSecret);
Expand Down
2 changes: 1 addition & 1 deletion examples/typeScript/reports/getReportList.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
const accessKey = process.env.AWS_ACCESS_KEY_ID || 'YOUR_KEY';
const accessSecret = process.env.AWS_SECRET_ACCESS_KEY || 'YOUR_SECRET';

import * as MwsApi from 'amazon-mws';
import MwsApi from 'amazon-mws';

const amazonMws = new MwsApi();
amazonMws.setApiKey(accessKey, accessSecret);
Expand Down

0 comments on commit 3996899

Please sign in to comment.