Q:

How to see the whole definitions: functions and variables from node modules in Angular 7?

Recently I researched in this site about importing an javascript node module into angular. But from there I have a big question about it.
Is it possible to see the functions, variables, interfaces (if it has) from the imported javascript package into my angular project?
For this great example I want to see all content from @adonisjs/websocket-client 
// app.component.ts
import Ws from '@adonisjs/websocket-client'
const ws = Ws('ws://localhost:3333')
Using my variable ws to see all properties and functions but nothing appears.
But when it's about a javascript framework it works 100%, I mean you have all definitions.

A:

You will need a type definition for that javascript module to be able to do that.
Have a look at : The repository for high quality TypeScript type definitions

