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


#1

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

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

#2

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.


#3

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