import platform specific componet to a module in nativescript angular

Issue

I have a component that I split into platform specific files
ex.component.ios.ts and ex.component.android.ts
my question is how to import it into the module because using just ex.component gives me an error
thanks.

Solution

i think it can be resolved using a ex.d.ts file that has

export const ex: any;

Answered By – Hataki

Answer Checked By – Robin (AngularFixing Admin)

Leave a Reply

Your email address will not be published.