jdunkerley / TechStudio

Technical Analysis and Back Testing Studio
1 stars 0 forks source link

Add more typings #22

Closed owennw closed 9 years ago

owennw commented 9 years ago

Use the es6 style import for modules. Using this style also provides the benefit of working intellisense in VS2015.

Unfortunately, as per the comment, not all libraries can be imported in this way. This means that for those libraries there is no intellisense in VS.

Given imports must be defined at module level many of them have moved from being declared inline to the top (they're hoisted anyway). However, I've left the 'old' style require lines inline, where they're used.

owennw commented 9 years ago

Going to close this in favour of more work I've done since, that uses a different library to achieve the same result.