Skip to content

Commit

Permalink
chore: mention importing models from library root in README
Browse files Browse the repository at this point in the history
OKTA-399186
<<<Jenkins Check-In of Tested SHA: 76ab78e for eng_productivity_ci_bot_okta@okta.com>>>
Artifact: okta-sdk-nodejs
Files changed count: 1
PR Link: "#249"
  • Loading branch information
oleksandrpravosudko-okta authored and eng-prod-CI-bot-okta committed May 26, 2021
1 parent 3c84738 commit c3af123
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -821,6 +821,14 @@ client.createApplication(bookmarkAppOptions).then((createdApp: Application) => {
});
```

#### TypeScript usage examples (>=4.6.0)

Models can be imported from library root:

```typescript
import { Client, LogEvent } from '@okta/okta-sdk-nodejs';
```

## Migrating between versions

### From 3.x to 4.0
Expand Down

0 comments on commit c3af123

Please # to comment.