Message from JavaScript discussions

October 2020

— Y


What is the right syntax to import and export definitions in a d.ts file for js exports? :S
Nothing works.

— I think you export as exports = Logger , also depends your transpiler configuration

— Do I need a tsconfig in every single module?

— You can re-export one liner can’t you?

— Yup, but not default iirc

— I don't think so

— How? export {} from '' doesn't seem to work

— Yes it should

— I also just recently started with module declarations and that stuff 😅 not senior in that yet

— Still get "child doesn't exist on type import logger etc

— Try export = Logger