Skip to content

Commit 590902e

Browse files
author
Jonathan Wenger
committed
Additional docs for typescript.
1 parent a098ad8 commit 590902e

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

README.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -112,6 +112,12 @@ Please see the [Github releases](https://github.com/avadev/AvaTax-REST-V2-JS-SDK
112112
## Typescript support
113113
As of version 22.11.0, Typescript support is included in the SDK. Models and Enums included in addition to typing for all of the API methods and parameters. The team welcomes any feedback on this feature.
114114

115+
Models and Enums can be imported into Typescript projects as follows:
116+
```typescript
117+
import { AddressResolutionModel } from 'avatax/models';
118+
import { AddressCategoryId } from 'avatax/enums';
119+
```
120+
115121
## SDK Development
116122

117123
### Adding integration test credentials

0 commit comments

Comments
 (0)