It depends. Frameworks written in TypeScript export their types directly. For others, e.g. express, the type definitions are provided by the community. You can download them via npm i -D @types/express. For lesser known libraries there might be no type definitions available.
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
Can I use typescript to get the type of external framework objects? If yes, I will change to it now!
It depends. Frameworks written in TypeScript export their types directly. For others, e.g.
express
, the type definitions are provided by the community. You can download them vianpm i -D @types/express
. For lesser known libraries there might be no type definitions available.