Can someone explain why ts processing differs between “ionic build” and “tsc” commands ?
Especially I’m having troubles with custom global var declaration in a d.ts file.
Code compiles with no error using “tsc” but does not with “ionic build” (and no app.bundle.ts is generated).
OK I think I got it :
ionic cli is apparently using an older typings package which is not the case when running tsc directly and things have changed a bit in between (for example main.d.ts is now index.d.ts).
Thanks to its author!