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.

ngx-datatable-header-template syntax flagged as error by @angular/language-service

See original GitHub issue

I’m submitting a … (check one with “x”)

[x ] bug report => search github for a similar issue or PR before submitting
[ ] feature request
[ ] support request => Please do not submit support request here, post on Stackoverflow or Gitter

Current behavior

Error:(32, 28) Angular: Member sort is not callable

Expected behavior

No error reported in IDE.

Reproduction of the problem

Open demo source code in an IDE that supports Angular language service.

https://github.com/swimlane/ngx-datatable/blob/master/demo/templates/template-dom.component.ts

What is the motivation / use case for changing the behavior?

Distraction to constantly have to read and mentally process the error message displaying in my IDE, and dismiss it.

Please tell us about your environment:

IntelliJ IDEA 2017.1.1 Build #IU-171.4073.35, built on April 6, 2017 JRE: 1.8.0_112-release-736-b16 x86_64 JVM: OpenJDK 64-Bit Server VM by JetBrains s.r.o Mac OS X 10.12.4

  • Table version: 0.8.1

  • Angular version: 4.0.3

  • Browser: N/A.

  • Language: [all | TypeScript X.X | ES6/7 | ES5]

TypeScript 2.2.2

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Reactions:1
  • Comments:8 (1 by maintainers)

github_iconTop GitHub Comments

1reaction
manfromanotherlandcommented, Aug 10, 2018

+1

0reactions
github-actions[bot]commented, Mar 29, 2021

This issue was closed because it has been stalled for 7 days with no activity.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Angular Language Service
The Angular Language Service provides code editors with a way to get completions, errors, hints, and navigation inside Angular templates.
Read more >
Angular Language Service not working with VS Code ...
So, I've checked in my code based on this error No definition found for 'variable' from HTML file. Seems like component is not...
Read more >
Introduction to Angular Language Service | by Enea Jahollari
A language service is a program that you feed your code, and it will report you completions, errors, hints and diagnostics on a...
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