edlink / edlink-node-sdk

An Edlink API wrapper for NodeJS.
https://npmjs.com/package/@edlink/typescript
5 stars 0 forks source link

`Role` not exported #2

Closed luisrudge closed 10 months ago

luisrudge commented 10 months ago

The Role type is not exposed by the library, which prevents me from using that type from inside my code.

I'm trying to map your role to our internal role type, but I can't access your role type

image

If I import from @edlink/typescript/dist/types, then it fails with the error:

Error: Cannot find module '@edlink/typescript/dist/types'

Ideally, anything that should be accessible by anyone consuming the library should be exposed in the index.ts file