panuhorsmalahti / gulp-tslint

TypeScript linter plugin for Gulp
MIT License
118 stars 44 forks source link

refactored the type definition to use a namespace and function, both … #128

Closed damons-sportsbet closed 6 years ago

damons-sportsbet commented 7 years ago

…with the same

name, as this fixes the type defs for me when working with ts-node and also seems to be the most common and stable way of defining a type definition for a library that you use as either a function or an object.