typescript

VS2015 TypeScript Cannot compile modules unless the ‘–module’ flag is provided build error

Introduction In Visual studio 2015 i had big troubles using TypeScript import statements in combination with exporting modules. At build i got TypeScript compiler errors stating :┬áCannot compile modules unless the ‘–module’ flag is provided build error. I used TypeScript and modules before without running into this problem, but in those cases i didn’t use […]

Transforming resx files into TypeScript models before build (npm)

Introduction For a while now i have been looking for a way to work with resources from .resx files in web applications where i use TypeScript. I┬ádon’t like the manual labour of creating models/interfaces, but i want to work with intellisense in TypeScript and without having to use magic strings (or even enums) while using […]