fusionauth-typescript-client
fusionauth-typescript-client copied to clipboard
ClientResponse seems to be exported incorrectly
It seems to be not possible to
import { ClientResponse } from '@fusionauth/typescript-client;
The only way seems to be
import ClientResponse from '@fusionauth/typescript-client/build/src/ClientResponse';
This looks like it is due to the fact this object is exported as default class rather than class.
https://github.com/FusionAuth/fusionauth-typescript-client/blob/master/src/ClientResponse.ts
https://stackoverflow.com/questions/33305954/typescript-export-vs-default-export