EddyVerbruggen / nativescript-localize

Internationalization plugin for NativeScript using native capabilities of each platform
MIT License
79 stars 31 forks source link

[angular] unable to resolve signature for pipe invocation #23

Closed patrick-nurt closed 6 years ago

patrick-nurt commented 6 years ago

I keep getting this error in Visual Studio Code on the L pipe, any idea i how to solve it?

domzinhuu commented 6 years ago

For some reason if you create the html( or xml) file with my-page.component.android.html (for android) and my-page.component.ios.html(for ios) its works without errors in Vscode

lfabreges commented 6 years ago

Can you give me something to reproduce this behavior with the angular demo for example ? Are you using any Visual Studio Code specific plugin ?

domzinhuu commented 6 years ago

Its simples, install plugin, create a simple project with a component and try use the L directive in a tag and you wil see the red line in vscode, but if you compile its works, only vscode show error. erro

message is a Input() variable in archive.ts so i'm not using simple quote

lfabreges commented 6 years ago

I do not have intellisense or pipe resolution for angular template with my visual studio code installation, are you using a plugin ?

domzinhuu commented 6 years ago

yes i'm using many plugins for angular and nativescript

captura de tela de 2018-02-16 16-53-08 captura de tela de 2018-02-16 16-53-21

lfabreges commented 6 years ago

This should work now

yhyenifer commented 6 years ago

me pasa igual y al pasarlo al celular no toma la tuberia

Gio-Mgm commented 5 years ago

I have the same issue with a date pipe, It works but underlined in red too (I am using webstorm)

`

issue `

brendanalexdr commented 5 years ago

Similar problem there using Luxon-Angular

jlberrocal commented 5 years ago

Same problem than @Gio-Mgm