From c3af1231e5afdd44a340b71d5f6525e7e9712fbd Mon Sep 17 00:00:00 2001 From: Oleksandr Pravosudko Date: Wed, 26 May 2021 14:31:38 +0000 Subject: [PATCH] chore: mention importing models from library root in README OKTA-399186 <<>> Artifact: okta-sdk-nodejs Files changed count: 1 PR Link: "https://github.com/okta/okta-sdk-nodejs/pull/249" --- README.md | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/README.md b/README.md index bd8d0ed53..54a31b787 100644 --- a/README.md +++ b/README.md @@ -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