putdotio / putio-js

JavaScript SDK for interacting with the put.io API.
MIT License
21 stars 2 forks source link

typescript compiler error #60

Closed jackalcooper closed 1 year ago

jackalcooper commented 1 year ago
> shx rm -rf dist && tsc -b

node_modules/@putdotio/api-client/dist/resources/Auth/types.d.ts:1:31 - error TS2307: Cannot find module 'utils/types' or its corresponding type declarations.

1 import { ISODateString } from 'utils/types';
                                ~~~~~~~~~~~~~

Found 1 error.
altaywtf commented 1 year ago

hey @jackalcooper! are you sure it's using tsconfig.json?

seems like it's not getting rootdir: src, and it's causing unresolved aliases.