These are chat archives for DefinitelyTyped/DefinitelyTyped

12th
Jul 2015
Basarat Ali Syed
@basarat
Jul 12 2015 00:38

what do you guys think of

@duncanmak As mentioned : https://github.com/Microsoft/TypeScript/issues/3806#issuecomment-120287234 if you do not want to use the globals, the definitions need to be forked for modules and globals.

Currently the definition file provides for both use cases
Duncan Mak
@duncanmak
Jul 12 2015 00:38
@basarat yeah, i was hoping that there'd be more reactions!
@basarat it seems to me, the new import syntax is kinda unusable until this gets sorted out
Basarat Ali Syed
@basarat
Jul 12 2015 00:46
@duncanmak it is usable. You just have to be careful of any globals declared in a .d.ts file. Some environments like to have these available globally and people use these same defs for that use case
Duncan Mak
@duncanmak
Jul 12 2015 00:47
i use React.js and Lodash and Rx, i think they all have globals
Basarat Ali Syed
@basarat
Jul 12 2015 00:47
indeed