Skip to content

Commit

Permalink
fix(service-types-generator): correct readme import examples (#319)
Browse files Browse the repository at this point in the history
  • Loading branch information
Chase Coalwell authored and trivikr committed Aug 9, 2019
1 parent a610e2c commit 0323774
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions packages/service-types-generator/src/clientReadme.ts
Original file line number Diff line number Diff line change
Expand Up @@ -57,17 +57,17 @@ The AWS SDK is modulized by clients and commands in CommonJS modules. To send a
}Command\`:
\`\`\`javascript
//javascript
//JavaScript
const { ${serviceId}Client } = require('${packageName}/${serviceId}Client');
const { ${exampleCommand.name}Command } = require('${packageName}/commands/${
exampleCommand.name
}Command');
\`\`\`
\`\`\`javascript
//typescript
const { ${serviceId}Client } = import '${packageName}/${serviceId}Client';
const { ${exampleCommand.name}Command } = import '${packageName}/commands/${
//TypeScript
import { ${serviceId}Client } from '${packageName}/${serviceId}Client';
import { ${exampleCommand.name}Command } from '${packageName}/commands/${
exampleCommand.name
}Command';
\`\`\`
Expand Down

0 comments on commit 0323774

Please sign in to comment.