Open eneajaho opened 1 week ago
I'd also like to try to work on this one.
Looks like getSymbolOfNode
doesn't return any result at all
it('should work for accessed function calls', () => {
expectQuickInfo({
templateOverride: `<div (click)="someObject.some¦Method()"></div>`,
expectedSpanText: 'someMethod',
expectedDisplayString: '(property) someMethod: () => number',
});
});
This seems like a bug (or set of bugs), not a feature request.
Which @angular/* package(s) are relevant/related to the feature request?
language-service
Description
While for some signal in a service it's not working (it doesn't get the definition)
These are either issues with function calling or getting the correct definition for function calls in the template.
Tested with this code:
Proposed solution
Add better handling for function calls in language-service
Alternatives considered
-