DeepLcom / deepl-node

Official Node.js library for the DeepL language translation API.
MIT License
370 stars 22 forks source link

fix: eliminate circular dependency index.ts-> parsing.ts-> index.ts #44

Open DavidSanwald opened 7 months ago

DavidSanwald commented 7 months ago

types in index.ts have been moved to types.ts, a function defined in index.ts has been moved to parsting.ts, next to its use

fixes

43

DavidSanwald commented 7 months ago

it could be the case, that the types in index.ts were intended to be part of the public module surface. I didn't check yet, therefore it's currently still a draft.

DavidSanwald commented 7 months ago

Ah, now I see the JSDoc strings. Of course everything what's currently public, should remain public for now, I'll adjust that the coming days.

But can could it be that the case, that the module API exposes a lot of things, that wouldn't need to be public?