Why ionic2's gulp task using main.d.ts not browser.d.ts?

Is main.d.ts supposed to be used in node project?

src: ['./app/app.ts', './typings/main.d.ts'],

So this is because the features that typings is planning are not usable yet.

This comes down to a difference between what each should be doing .

main.d.ts: for node environment
browser.d.ts: for browser

At least this is understanding.

Hi, Thanks for the clarification, I found ionic2’s gulp task is a great start point for using gulp and typescript :stuck_out_tongue:

1 Like