question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Add more information on return type of methods

See original GitHub issue
FunctionDeclaration {
  name: 'getNotificationSettingsForUser',
  isExported: false,
  type: 'Promise<{\n    notificationRows: any;\n}>',
  start: 5886,
  end: 6006,
  parameters:
   [ ParameterDeclaration { name: 'this', type: 'ApiHandler', start: 5934, end: 5950 },
     ParameterDeclaration { name: 'userID', type: 'any', start: 5952, end: 5963 } ],
  variables: [] }

The type variable is all string, how can we improve analysis to get at its structure?

Issue Analytics

  • State:open
  • Created 5 years ago
  • Comments:6

github_iconTop GitHub Comments

1reaction
jpike88commented, Oct 25, 2018

Yep go for it

0reactions
mundusninecommented, Oct 24, 2018

@jpike88 Would the pull request #101 be something that would be desirable in your typescript-parser-deluxe ? The most important commit was the first one which is called: ‘Added better js types’

What it does basically is add better type detection more so for JS then TS. If so I will work on merging it into it.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Returning a Value from a Method (The Java™ Tutorials ...
You declare a method's return type in its method declaration. Within the body of the method, you use the return statement to return...
Read more >
Conventions regarding the return type for add() methods
If your add operation is immutable, it should return some value (this is the case of BigInteger ). Else you should return void...
Read more >
Return type in Java | Example Program - Scientech Easy
Learn return type in java with example program, java return statement, how to get return value from method, print return value, class name...
Read more >
Part 9 - Working with Methods (Return types) - YouTube
In this video we will be talking about Methods in C# and see how a method can return a value out from it....
Read more >
Methods with Return Type in Java | Java Tutorial For Beginners
Please use the following link to install the Katalon Studio:https://katalon.com/sign-up?getr=krishnaRef Check Tubebuddy Features ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found