diff --git a/CONTRIBUTORS.md b/CONTRIBUTORS.md
index 533c2f9151..6140babecd 100644
--- a/CONTRIBUTORS.md
+++ b/CONTRIBUTORS.md
@@ -10,6 +10,8 @@ This document generated by [dt-contributors-generator](https://github.com/vvakam
* [:link:](acorn/acorn.d.ts) [Acorn](https://github.com/marijnh/acorn) by [RReverser](https://github.com/RReverser)
* [:link:](rails-actioncable/rails-actioncable.d.ts) [ActionCable](https://github.com/rails/rails/tree/master/actioncable) by [Vincent Zhu](https://github.com/zhu1230)
* [:link:](cordova-plugin-ms-adal/cordova-plugin-ms-adal.d.ts) [Active Directory Authentication Library plugin for Apache Cordova](https://github.com/AzureAD/azure-activedirectory-library-for-cordova) by [Kai Walter](https://github.com/KaiWalter)
+* [:link:](adal-angular/adal-angular.d.ts) [ADAL.JS](https://github.com/AzureAD/azure-activedirectory-library-for-js) by [mmaitre314](https://github.com/mmaitre314)
+* [:link:](adal-angular/adal.d.ts) [ADAL.JS](https://github.com/AzureAD/azure-activedirectory-library-for-js) by [mmaitre314](https://github.com/mmaitre314)
* [:link:](add2home/add2home.d.ts) [add2home](http://cubiq.org/add-to-home-screen) by [James Wilkins](http://www.codeplex.com/site/users/view/jamesnw)
* [:link:](adm-zip/adm-zip.d.ts) [adm-zip](https://github.com/cthackers/adm-zip) by [John Vilk](https://github.com/jvilk), [Abner Oliveira](https://github.com/abner)
* [:link:](ag-grid/ag-grid.d.ts) [ag-grid](http://www.ag-grid.com) by [Niall Crosby](https://github.com/ceolter)
@@ -38,6 +40,7 @@ This document generated by [dt-contributors-generator](https://github.com/vvakam
* [:link:](angularjs/angular-component-router.d.ts) [Angular JS 1.5 component router](http://angularjs.org) by [David Reher](http://github.com/davidreher)
* [:link:](angular-meteor/angular-meteor.d.ts) [Angular JS Meteor (angular.meteor module)](https://github.com/Urigo/angular-meteor) by [Peter Grman](https://github.com/pgrm)
* [:link:](angular-locker/angular-locker.d.ts) [Angular Locker](https://github.com/tymondesigns/angular-locker) by [Niko Kovačič](https://github.com/nkovacic)
+* [:link:](angular-media-queries/match-media.d.ts) [Angular matchMedia (angular.matchMedia module)](https://github.com/jacopotarantino/angular-match-media) by [Joao Monteiro](https://github.com/jpmnteiro)
* [:link:](angular-material/angular-material.d.ts) [Angular Material (angular.material module)](https://github.com/angular/material) by [Matt Traynham](https://github.com/mtraynham)
* [:link:](angular-protractor/angular-protractor.d.ts) [Angular Protractor](https://github.com/angular/protractor) by [Bill Armstrong](https://github.com/BillArmstrong)
* [:link:](angular-scenario/angular-scenario.d.ts) [Angular Scenario Testing (ngScenario module)](http://angularjs.org) by [RomanoLindano](https://github.com/RomanoLindano)
@@ -55,8 +58,8 @@ This document generated by [dt-contributors-generator](https://github.com/vvakam
* [:link:](angular-environment/angular-environment.d.ts) [angular-environment](https://github.com/juanpablob/angular-environment) by [Matt Wheatley](https://github.com/terrawheat)
* [:link:](angular-formly/angular-formly.d.ts) [angular-formly](https://github.com/formly-js/angular-formly) by [Scott Hatcher](https://github.com/scatcher)
* [:link:](angular-gettext/angular-gettext.d.ts) [angular-gettext](https://angular-gettext.rocketeer.be) by [Ákos Lukács](https://github.com/AkosLukacs)
-* [:link:](angular-google-analytics/angular-google-analytics-service.d.ts) [angular-google-analytics](https://github.com/revolunet/angular-google-analytics) by [Matt Wheatley](https://github.com/terrawheat)
* [:link:](angular-google-analytics/angular-google-analytics.d.ts) [angular-google-analytics](https://github.com/revolunet/angular-google-analytics) by [Cyril Schumacher](https://github.com/cyrilschumacher)
+* [:link:](angular-google-analytics/angular-google-analytics-service.d.ts) [angular-google-analytics](https://github.com/revolunet/angular-google-analytics) by [Matt Wheatley](https://github.com/terrawheat)
* [:link:](angular-hotkeys/angular-hotkeys.d.ts) [angular-hotkeys](https://github.com/chieffancypants/angular-hotkeys) by [Jason Zhao](https://github.com/jlz27), [Stefan Steinhart](https://github.com/reppners)
* [:link:](angular-http-auth/angular-http-auth.d.ts) [angular-http-auth](https://github.com/witoldsz/angular-http-auth) by [vvakame](https://github.com/vvakame)
* [:link:](angular-httpi/angular-httpi.d.ts) [angular-httpi](https://github.com/bennadel/httpi) by [Andrew Camilleri](https://github.com/Kukks)
@@ -68,6 +71,7 @@ This document generated by [dt-contributors-generator](https://github.com/vvakam
* [:link:](angular-modal/angular-modal.d.ts) [angular-modal](https://github.com/btford/angular-modal) by [Paul Lessing](https://github.com/paullessing)
* [:link:](angular-notifications/angular-notifications.d.ts) [angular-notifications](https://github.com/DerekRies/angular-notifications) by [Tomasz Ducin](https://github.com/ducin/DefinitelyTyped)
* [:link:](angular-notify/angular-notify.d.ts) [angular-notify](https://github.com/cgross/angular-notify) by [Suwato](https://github.com/Suwato/DefinitelyTyped)
+* [:link:](angular-permission/angular-permission.d.ts) [angular-permission](https://github.com/Narzerus/angular-permission) by [Voislav Mishevski](https://github.com/vmishevski)
* [:link:](angular-scroll/angular-scroll.d.ts) [angular-scroll](https://github.com/oblador/angular-scroll) by [Sam Herrmann](https://github.com/samherrmann)
* [:link:](angular-signalr-hub/angular-signalr-hub.d.ts) [angular-signalr-hub](https://github.com/JustMaier/angular-signalr-hub) by [Adam Santaniello](https://github.com/AdamSantaniello)
* [:link:](angular-spinner/angular-spinner.d.ts) [angular-spinner.js](https://github.com/urish/angular-spinner) by [Marcin Biegała](https://github.com/Biegal)
@@ -86,11 +90,12 @@ This document generated by [dt-contributors-generator](https://github.com/vvakam
* [:link:](animation-frame/animation-frame.d.ts) [animation-frame](https://github.com/kof/animation-frame) by [Qinfeng Chen](https://github.com/qinfchen)
* [:link:](ansi-styles/ansi-styles.d.ts) [ansi-styles](https://github.com/sindresorhus/ansi-styles) by [bryn austin bellomy](https://github.com/brynbellomy)
* [:link:](ansicolors/ansicolors.d.ts) [ansicolors](https://github.com/thlorenz/ansicolors) by [rogierschouten](https://github.com/rogierschouten)
-* [:link:](antd/antd.d.ts) [Antd](http://ant.design) by [bang88](https://github.com/bang88)
+* [:link:](antd/antd.d.ts) [Antd](http://ant.design) by [bang88](https://github.com/bang88), [Bruce Mitchener](https://github.com/waywardmonkeys)
* [:link:](any-db/any-db.d.ts) [any-db](https://github.com/grncdr/node-any-db) by [Rogier Schouten](https://github.com/rogierschouten)
* [:link:](any-db-transaction/any-db-transaction.d.ts) [any-db-transaction](https://github.com/grncdr/node-any-db-transaction) by [Rogier Schouten](https://github.com/rogierschouten)
* [:link:](anydb-sql/anydb-sql.d.ts) [anydb-sql](https://github.com/doxout/anydb-sql) by [Gorgi Kosev](https://github.com/spion)
* [:link:](anydb-sql-migrations/anydb-sql-migrations.d.ts) [anydb-sql-migrations](https://github.com/spion/anydb-sql-migrations) by [Gorgi Kosev](https://github.com/spion)
+* [:link:](cordova-plugin-background-mode/cordova-plugin-background-mode.d.ts) [Apache Background Mode plugin](https://github.com/katzer/cordova-plugin-background-mode) by [Paul Thiel](https://github.com/Lordnoname)
* [:link:](cordova/cordova.d.ts) [Apache Cordova](http://cordova.apache.org) by [Microsoft Open Technologies Inc.](http://msopentech.com)
* [:link:](cordova-plugin-email-composer/cordova-plugin-email-composer.d.ts) [Apache Cordova Email Composer plugin](https://github.com/katzer/cordova-plugin-email-composer) by [Dave Taylor](http://davetayls.me)
* [:link:](api-error-handler/api-error-handler.d.ts) [api-error-handler](https://github.com/expressjs/api-error-handler) by [Tanguy Krotoff](https://github.com/tkrotoff)
@@ -244,19 +249,20 @@ This document generated by [dt-contributors-generator](https://github.com/vvakam
* [:link:](circular-json/circular-json.d.ts) [circular-json](https://github.com/WebReflection/circular-json) by [Jonathan Pevarnek](https://github.com/jpevarnek)
* [:link:](ckeditor/ckeditor.d.ts) [CKEditor](http://ckeditor.com) by [Ondrej Sevcik](https://github.com/ondrejsevcik)
* [:link:](classnames/classnames.d.ts) [classnames](https://github.com/JedWatson/classnames) by [Dave Keen](http://www.keendevelopment.ch), [Adi Dahiya](https://github.com/adidahiya), [Jason Killian](https://github.com/JKillian)
+* [:link:](cldr.js/cldr.js-event.d.ts) [Cldr.js](https://github.com/rxaviers/cldrjs) by [Raman But-Husaim](https://github.com/RamanBut-Husaim)
* [:link:](cldr.js/cldr.js-supplemental.d.ts) [Cldr.js](https://github.com/rxaviers/cldrjs) by [Raman But-Husaim](https://github.com/RamanBut-Husaim)
* [:link:](cldr.js/cldr.js.d.ts) [Cldr.js](https://github.com/rxaviers/cldrjs) by [Raman But-Husaim](https://github.com/RamanBut-Husaim), [Grégoire Castre](https://github.com/gcastre)
-* [:link:](cldr.js/cldr.js-event.d.ts) [Cldr.js](https://github.com/rxaviers/cldrjs) by [Raman But-Husaim](https://github.com/RamanBut-Husaim)
* [:link:](clean-css/clean-css.d.ts) [clean-css](https://github.com/jakubpawlowicz/clean-css) by [Tanguy Krotoff](https://github.com/tkrotoff)
+* [:link:](cli/cli.d.ts) [cli](https://www.npmjs.com/package/cli) by [Klaus Reimer](https://github.com/kayahr)
* [:link:](cli-color/cli-color.d.ts) [cli-color](https://github.com/medikoo/cli-color) by [Joel Spadin](https://github.com/ChaosinaCan)
* [:link:](clipboard/clipboard.d.ts) [clipboard.js](https://github.com/zenorocha/clipboard.js) by [Andrei Kurosh](https://github.com/impworks)
* [:link:](clone/clone.d.ts) [clone](https://github.com/pvorb/node-clone) by [Kieran Simpson](https://github.com/kierans/DefinitelyTyped)
* [:link:](closure-compiler/closure-compiler.d.ts) [closure-compiler](https://github.com/tim-smart/node-closure) by [Martin Probst](https://github.com/mprobst)
+* [:link:](codemirror/codemirror-showhint.d.ts) [CodeMirror](https://github.com/marijnh/CodeMirror) by [jacqt](https://github.com/jacqt), [basarat](https://github.com/basarat)
+* [:link:](codemirror/codemirror-matchbrackets.d.ts) [CodeMirror](https://github.com/marijnh/CodeMirror) by [Sixin Li](https://github.com/sixinli)
* [:link:](codemirror/codemirror-runmode.d.ts) [CodeMirror](https://github.com/marijnh/CodeMirror) by [Joseph Vaughan](https://github.com/Joev-)
* [:link:](codemirror/searchcursor.d.ts) [CodeMirror](https://github.com/marijnh/CodeMirror) by [jacqt](https://github.com/jacqt)
* [:link:](codemirror/codemirror.d.ts) [CodeMirror](https://github.com/marijnh/CodeMirror) by [mihailik](https://github.com/mihailik)
-* [:link:](codemirror/codemirror-showhint.d.ts) [CodeMirror](https://github.com/marijnh/CodeMirror) by [jacqt](https://github.com/jacqt), [basarat](https://github.com/basarat)
-* [:link:](codemirror/codemirror-matchbrackets.d.ts) [CodeMirror](https://github.com/marijnh/CodeMirror) by [Sixin Li](https://github.com/sixinli)
* [:link:](coffeeify/coffeeify.d.ts) [coffeeify](https://github.com/jnordberg/coffeeify) by [Qubo](https://github.com/tkQubo)
* [:link:](colorbrewer/colorbrewer.d.ts) [colorbrewer](https://github.com/jeanlauliac/colorbrewer) by [Matt Traynham](https://github.com/mtraynham)
* [:link:](colors/colors.d.ts) [Colors.js 0.6.0-1](https://github.com/Marak/colors.js) by [Bart van der Schoor](https://github.com/Bartvds)
@@ -308,6 +314,7 @@ This document generated by [dt-contributors-generator](https://github.com/vvakam
* [:link:](createjs/createjs.d.ts) [CreateJS](http://www.createjs.com) by [Pedro Ferreira](https://bitbucket.org/drk4), [Chris Smith](https://github.com/evilangelist), [Satoru Kimura](https://github.com/gyohk)
* [:link:](credential/credential.d.ts) [credential](https://github.com/ericelliott/credential) by [Phú](https://github.com/phuvo)
* [:link:](cron/cron.d.ts) [cron](https://www.npmjs.com/package/cron) by [Hiroki Horiuchi](https://github.com/horiuchi)
+* [:link:](cropperjs/cropperjs.d.ts) [cropperjs](https://github.com/fengyuanchen/cropperjs) by [Stepan Mikhaylyuk](https://github.com/stepancar)
* [:link:](cross-storage/cross-storage.d.ts) [cross-storage](https://github.com/zendesk/cross-storage) by [Daniel Chao](http://dchao.co)
* [:link:](crossfilter/crossfilter.d.ts) [CrossFilter](https://github.com/square/crossfilter) by [Schmulik Raskin](https://github.com/schmuli)
* [:link:](crossroads/crossroads.d.ts) [Crossroads.js](http://millermedeiros.github.io/crossroads.js) by [Diullei Gomes](https://github.com/diullei)
@@ -369,13 +376,14 @@ This document generated by [dt-contributors-generator](https://github.com/vvakam
* [:link:](dot-case/dot-case.d.ts) [dot-case](https://github.com/blakeembrey/dot-case) by [Sam Saint-Pettersen](https://github.com/stpettersens)
* [:link:](dot-prop/dot-prop.d.ts) [dot-prop](https://github.com/sindresorhus/dot-prop) by [Sam Verschueren](https://github.com/samverschueren)
* [:link:](dotdotdot/dotdotdot.d.ts) [dotdotdot](http://dotdotdot.frebsite.nl) by [Milan Jaros](https://github.com/milanjaros)
+* [:link:](dotenv/dotenv.d.ts) [dotenv](https://github.com/motdotla/dotenv) by [Jussi Kinnula](https://github.com/jussikinnula)
* [:link:](doublearray/doublearray.d.ts) [doublearray](https://github.com/takuyaa/doublearray) by [MIZUSHIMA Junki](https://github.com/mzsm)
* [:link:](draft-js/draft-js.d.ts) [draft-js](https://github.com/facebook/draft-js) by [Pavel Evsegneev](https://github.com/Ahineya)
-* [:link:](hystrixjs/hystrixjs.d.ts) [dragula](https://bitbucket.org/igor_sechyn/hystrixjs) by [Igor Sechyn](https://github.com/igorsechyn)
* [:link:](dragula/dragula.d.ts) [dragula](http://bevacqua.github.io/dragula) by [Paul Welter](https://github.com/pwelter34)
+* [:link:](hystrixjs/hystrixjs.d.ts) [dragula](https://bitbucket.org/igor_sechyn/hystrixjs) by [Igor Sechyn](https://github.com/igorsechyn)
* [:link:](drop/drop.d.ts) [Drop](http://github.hubspot.com/drop) by [Adi Dahiya](https://github.com/adidahiya)
* [:link:](dropboxjs/dropboxjs.d.ts) [dropbox-js](https://github.com/dropbox/dropbox-js) by [Steve Fenton](https://github.com/Steve-Fenton), [Pedro Casaubon](https://github.com/xperiments)
-* [:link:](dropzone/dropzone.d.ts) [Dropzone](http://www.dropzonejs.com) by [Natan Vivo](https://github.com/nvivo), [Andy Hawkins](https://github.com/a904guy/,http://a904guy.com/,http://www.bmbsqd.com), [Vasya Aksyonov](https://github.com/outring)
+* [:link:](dropzone/dropzone.d.ts) [Dropzone](http://www.dropzonejs.com) by [Natan Vivo](https://github.com/nvivo), [Andy Hawkins](https://github.com/a904guy/,http://a904guy.com/,http://www.bmbsqd.com), [Vasya Aksyonov](https://github.com/outring), [Simon Huber](https://github.com/renuo)
* [:link:](dsv/dsv.d.ts) [dsv](https://www.npmjs.com/package/dsv) by [Jason Swearingen](https://jasonswearingen.github.io)
* [:link:](dts-bundle/dts-bundle.d.ts) [dts-bundle](https://github.com/TypeStrong/dts-bundle) by [Asana](https://asana.com)
* [:link:](durandal/durandal.d.ts) [Durandal](http://durandaljs.com) by [Blue Spire](https://github.com/BlueSpire)
@@ -394,8 +402,9 @@ This document generated by [dt-contributors-generator](https://github.com/vvakam
* [:link:](ejs-locals/ejs-locals.d.ts) [ejs-locals](https://github.com/randometc/ejs-locals) by [jt000](https://github.com/jt000)
* [:link:](ejs/ejs.d.ts) [ejs.js](http://ejs.co) by [Ben Liddicott](https://github.com/benliddicott/DefinitelyTyped)
* [:link:](jquery.elang/jquery.elang.d.ts) [eLang](https://github.com/sumegizoltan/ELang) by [Zoltan Sumegi](https://github.com/sumegizoltan)
-* [:link:](github-electron/github-electron.d.ts) [Electron](http://electron.atom.io) by [jedmao](https://github.com/jedmao), [rhysd](https://rhysd.github.io)
+* [:link:](github-electron/github-electron.d.ts) [Electron](http://electron.atom.io) by [jedmao](https://github.com/jedmao), [rhysd](https://rhysd.github.io), [Milan Burda](https://github.com/miniak)
* [:link:](electron-builder/electron-builder.d.ts) [electron-builder](https://github.com/loopline-systems/electron-builder) by [Maxime LUCE](https://github.com/SomaticIT)
+* [:link:](electron-json-storage/electron-json-storage.d.ts) [electron-json-storage](https://github.com/jviotti/electron-json-storage) by [Sam Saint-Pettersen](https://github.com/stpettersens)
* [:link:](electron-packager/electron-packager.d.ts) [electron-packager](https://github.com/maxogden/electron-packager) by [Maxime LUCE](https://github.com/SomaticIT)
* [:link:](github-electron/electron-prebuilt.d.ts) [electron-prebuilt](https://github.com/mafintosh/electron-prebuilt) by [rhysd](https://github.com/rhysd)
* [:link:](electron-window-state/electron-window-state.d.ts) [electron-window-state](https://github.com/mawie81/electron-window-state) by [rhysd](https://github.com/rhysd)
@@ -407,19 +416,23 @@ This document generated by [dt-contributors-generator](https://github.com/vvakam
* [:link:](emissary/emissary.d.ts) [emissary](https://github.com/atom/emissary) by [vvakame](https://github.com/vvakame)
* [:link:](empower/empower.d.ts) [empower](https://github.com/twada/empower) by [vvakame](https://github.com/vvakame)
* [:link:](emscripten/emscripten.d.ts) [Emscripten](http://kripken.github.io/emscripten-site/index.html) by [Kensuke Matsuzaki](https://github.com/zakki)
+* [:link:](encoding-japanese/encoding-japanese.d.ts) [encoding-japanese](https://github.com/polygonplanet/encoding.js) by [rhysd](https://rhysd.github.io)
* [:link:](envify/envify.d.ts) [envify](https://github.com/hughsk/envify) by [Qubo](https://github.com/tkQubo)
* [:link:](enzyme/enzyme.d.ts) [Enzyme](https://github.com/airbnb/enzyme) by [Marian Palkus](https://github.com/MarianPalkus), [Cap3](http://www.cap3.de)
* [:link:](epiceditor/epiceditor.d.ts) [EpicEditor](http://epiceditor.com) by [Boris Yankov](https://github.com/borisyankov)
* [:link:](eq.js/eq.js.d.ts) [eq.js](https://github.com/Snugug/eq.js) by [Stephen Lautier](https://github.com/stephenlautier)
* [:link:](errorhandler/errorhandler.d.ts) [errorhandler](https://github.com/expressjs/errorhandler) by [Santi Albo](https://github.com/santialbo)
+* [:link:](error-stack-parser/error-stack-parser.d.ts) [ErrorStackParser](https://github.com/stacktracejs/error-stack-parser) by [Eric Wendelin](https://www.eriwen.com)
* [:link:](es6-collections/es6-collections.d.ts) [es6-collections](https://github.com/WebReflection/es6-collections) by [Ron Buckton](http://github.com/rbuckton)
* [:link:](es6-promise/es6-promise.d.ts) [es6-promise](https://github.com/jakearchibald/ES6-Promise) by [François de Campredon](https://github.com/fdecampredon), [vvakame](https://github.com/vvakame)
* [:link:](es6-shim/es6-shim.d.ts) [es6-shim](https://github.com/paulmillr/es6-shim) by [Ron Buckton](http://github.com/rbuckton)
+* [:link:](escape-html/escape-html.d.ts) [escape-html](https://github.com/component/escape-html) by [Elisée MAURER](https://github.com/elisee)
* [:link:](escape-latex/escape-latex.d.ts) [escape-latex](https://github.com/dangmai/escape-latex) by [Oliver Schneider](https://github.com/olsio)
* [:link:](escape-string-regexp/escape-string-regexp.d.ts) [escape-string-regexp](https://github.com/sindresorhus/escape-string-regexp) by [kruncher](https://github.com/kruncher)
* [:link:](esprima/esprima.d.ts) [Esprima](http://esprima.org) by [teppeis](https://github.com/teppeis), [RReverser](https://github.com/RReverser)
* [:link:](estree/flow.d.ts) [ESTree AST extensions for Facebook Flow](https://github.com/estree/estree) by [RReverser](https://github.com/RReverser)
* [:link:](estree/estree.d.ts) [ESTree AST specification](https://github.com/estree/estree) by [RReverser](https://github.com/RReverser)
+* [:link:](evaporate/evaporate.d.ts) [EvaporateJS](https://github.com/TTLabs/EvaporateJS) by [Andrew Kuklewicz](https://github.com/kookster), [Chris Rhoden](https://github.com/chrisrhoden)
* [:link:](event-kit/event-kit.d.ts) [event-kit](https://github.com/atom/event-kit) by [Vadim Macagon](https://github.com/enlight)
* [:link:](event-loop-lag/event-loop-lag.d.ts) [event-loop-lag](https://github.com/pebble/event-loop-lag) by [Rogier Schouten](https://github.com/rogierschouten)
* [:link:](event-stream/event-stream.d.ts) [event-stream](https://github.com/dominictarr/event-stream) by [David Gardiner](https://github.com/flcdrg)
@@ -430,8 +443,8 @@ This document generated by [dt-contributors-generator](https://github.com/vvakam
* [:link:](expect/expect.d.ts) [Expect](https://github.com/mjackson/expect) by [Justin Reidy](https://github.com/jmreidy)
* [:link:](expect.js/expect.js.d.ts) [expect.js](https://github.com/Automattic/expect.js) by [Teppei Sato](https://github.com/teppeis)
* [:link:](expectations/expectations.d.ts) [expectations.js](https://github.com/spmason/expectations) by [vvakame](https://github.com/vvakame)
-* [:link:](express/express.d.ts) [Express 4.x](http://expressjs.com) by [Boris Yankov](https://github.com/borisyankov)
* [:link:](express-serve-static-core/express-serve-static-core.d.ts) [Express 4.x](http://expressjs.com) by [Boris Yankov](https://github.com/borisyankov)
+* [:link:](express/express.d.ts) [Express 4.x](http://expressjs.com) by [Boris Yankov](https://github.com/borisyankov)
* [:link:](express-brute/express-brute.d.ts) [express-brute](https://github.com/AdamPflug/express-brute) by [Cyril Schumacher](https://github.com/cyrilschumacher)
* [:link:](express-brute-memcached/express-brute-memcached.d.ts) [express-brute-memcached](https://github.com/AdamPflug/express-brute-memcached) by [Cyril Schumacher](https://github.com/cyrilschumacher)
* [:link:](express-brute-mongo/express-brute-mongo.d.ts) [express-brute-mongo](https://github.com/auth0/express-brute-mongo) by [Cyril Schumacher](https://github.com/cyrilschumacher)
@@ -447,6 +460,7 @@ This document generated by [dt-contributors-generator](https://github.com/vvakam
* [:link:](express-route-fs/express-route-fs.d.ts) [express-route-fs](https://github.com/kripod/express-route-fs) by [Kristóf Poduszló](https://github.com/kripod)
* [:link:](express-session/express-session.d.ts) [express-session](https://www.npmjs.org/package/express-session) by [Hiroki Horiuchi](https://github.com/horiuchi)
* [:link:](express-unless/express-unless.d.ts) [express-unless](https://www.npmjs.org/package/express-unless) by [Wonshik Kim](https://github.com/wokim)
+* [:link:](express-useragent/express-useragent.d.ts) [express-useragent](https://www.npmjs.org/package/express-useragent) by [Isman Usoh](https://github.com/isman-usoh)
* [:link:](express-validator/express-validator.d.ts) [express-validator](https://github.com/ctavan/express-validator) by [Nathan Ridley](https://github.com/axefrog), [Jonathan Häberle](http://dreampulse.de)
* [:link:](extend/extend.d.ts) [extend](https://www.npmjs.com/package/extend) by [Stefan Steinhart](https://github.com/reppners)
* [:link:](wiiu/wiiu.d.ts) [Extended Functionality of Wii U Internet Browser](https://www.nintendo.co.jp/wiiu/hardware/internetbrowser/extended_functionality.html) by [MIZUSHIMA Junki](https://github.com/mzsm)
@@ -457,6 +471,12 @@ This document generated by [dt-contributors-generator](https://github.com/vvakam
* [:link:](fbsdk/fbsdk.d.ts) [Facebook Javascript SDK](https://developers.facebook.com/docs/javascript) by [Joshua Strobl](https://github.com/JoshStrobl)
* [:link:](fbemitter/fbemitter.d.ts) [Facebook's EventEmitter](https://github.com/facebook/emitter) by [kmxz](https://github.com/kmxz)
* [:link:](faker/faker.d.ts) [faker](http://marak.com/faker.js) by [Bas Pennings](https://github.com/basp), [Yuki Kokubun](https://github.com/Kuniwak)
+* [:link:](falcor/falcor-browser.d.ts) [falcor](http://netflix.github.io/falcor) by [Quramy](https://github.com/Quramy)
+* [:link:](falcor/falcor.d.ts) [falcor](http://netflix.github.io/falcor) by [Quramy](https://github.com/Quramy)
+* [:link:](falcor-express/falcor-express.d.ts) [falcor-express](https://github.com/Netflix/falcor-express) by [Quramy](https://github.com/Quramy)
+* [:link:](falcor-http-datasource/falcor-http-datasource.d.ts) [falcor-http-datasource](https://github.com/Netflix/falcor-http-datasource) by [Quramy](https://github.com/Quramy)
+* [:link:](falcor-json-graph/falcor-json-graph.d.ts) [falcor-json-graph](https://github.com/Netflix/falcor-json-graph) by [Quramy](https://github.com/Quramy)
+* [:link:](falcor-router/falcor-router.d.ts) [falcor-router](https://github.com/Netflix/falcor-router) by [Quramy](https://github.com/Quramy)
* [:link:](famous/famous.d.ts) [Famous Engine](http://famous.org) by [Boris Vasilenko](https://github.com/borisvasilenko)
* [:link:](fancybox/fancybox.d.ts) [fancyBox](https://github.com/fancyapps/fancyBox) by [Boris Yankov](https://github.com/borisyankov)
* [:link:](farbtastic/farbtastic.d.ts) [Farbtastic: jQuery Color Wheel](http://mattfarina.github.io/farbtastic) by [Matt Brooks](https://github.com/EnableSoftware)
@@ -472,6 +492,7 @@ This document generated by [dt-contributors-generator](https://github.com/vvakam
* [:link:](filesystem/filesystem.d.ts) [File System API](http://www.w3.org/TR/file-system-api) by [Kon](http://phyzkit.net)
* [:link:](file-url/file-url.d.ts) [file-url](https://github.com/sindresorhus/file-url) by [MEDIA CHECK s.r.o.](http://www.mediacheck.cz)
* [:link:](FileSaver/FileSaver.d.ts) [FileSaver.js](https://github.com/eligrey/FileSaver.js) by [Cyril Schumacher](https://github.com/cyrilschumacher)
+* [:link:](filesize/filesize.d.ts) [filesize](https://github.com/avoidwork/filesize.js) by [Giedrius Grabauskas](https://github.com/GiedriusGrabauskas)
* [:link:](finalhandler/finalhandler.d.ts) [finalhandler](https://github.com/pillarjs/finalhandler) by [Ilya Mochalov](https://github.com/chrootsu)
* [:link:](Finch/Finch.d.ts) [Finch](https://github.com/stoodder/finchjs) by [David Sichau](https://github.com/DavidSichau)
* [:link:](findup-sync/findup-sync.d.ts) [findup-sync](https://github.com/cowboy/node-findup-sync) by [Bart van der Schoor](https://github.com/Bartvds), [Nathan Brown](https://github.com/ngbrown)
@@ -507,8 +528,9 @@ This document generated by [dt-contributors-generator](https://github.com/vvakam
* [:link:](foundation-sites/foundation-sites.d.ts) [Foundation Sites](http://foundation.zurb.com) by [Sam Vloeberghs](https://github.com/samvloeberghs)
* [:link:](fpsmeter/FPSMeter.d.ts) [FPSmeter](http://darsa.in/fpsmeter) by [Aaron Lampros](http://github.com/alampros)
* [:link:](freedom/freedom-core-env.d.ts) [freedom](https://github.com/freedomjs/freedom) by [Jonathan Pevarnek](https://github.com/jpevarnek)
-* [:link:](freedom/freedom-module-env.d.ts) [freedom](https://github.com/freedomjs/freedom) by [Jonathan Pevarnek](https://github.com/jpevarnek)
* [:link:](freedom/freedom.d.ts) [freedom](https://github.com/freedomjs/freedom) by [Jonathan Pevarnek](https://github.com/jpevarnek)
+* [:link:](freedom/freedom-module-env.d.ts) [freedom](https://github.com/freedomjs/freedom) by [Jonathan Pevarnek](https://github.com/jpevarnek)
+* [:link:](freeport/freeport.d.ts) [freeport](https://github.com/daaku/nodejs-freeport) by [Arne Schubert](https://github.com/atd-schubert)
* [:link:](from/from.d.ts) [from](https://github.com/dominictarr/from) by [Bart van der Schoor](https://github.com/Bartvds)
* [:link:](fromjs/fromjs.d.ts) [fromjs](https://github.com/suckgamony/fromjs) by [Glenn Dierckx](https://github.com/glenndierckx)
* [:link:](fromnow/fromnow.d.ts) [fromnow](https://github.com/lukeed/fromNow) by [Martin Bukovics](https://github.com/marinewater)
@@ -544,33 +566,33 @@ This document generated by [dt-contributors-generator](https://github.com/vvakam
* [:link:](goJS/goJS.d.ts) [GoJS](http://gojs.net) by [Northwoods Software](https://github.com/NorthwoodsSoftware)
* [:link:](google.analytics/ga.d.ts) [Google Analytics (Classic and Universal)](https://developers.google.com/analytics/devguides/collection/gajs) by [Ronnie Haakon Hegelund](http://ronniehegelund.blogspot.dk), [Pat Kujawa](http://patkujawa.com)
* [:link:](gapi/gapi.d.ts) [Google API Client](https://code.google.com/p/google-api-javascript-client) by [Frank M](https://github.com/sgtfrankieboy)
-* [:link:](google-apps-script/google-apps-script.document.d.ts) [Google Apps Script 2015-11-12](https://developers.google.com/apps-script) by [motemen](https://github.com/motemen)
* [:link:](google-apps-script/google-apps-script.content.d.ts) [Google Apps Script 2015-11-12](https://developers.google.com/apps-script) by [motemen](https://github.com/motemen)
+* [:link:](google-apps-script/google-apps-script.maps.d.ts) [Google Apps Script 2015-11-12](https://developers.google.com/apps-script) by [motemen](https://github.com/motemen)
+* [:link:](google-apps-script/google-apps-script.mail.d.ts) [Google Apps Script 2015-11-12](https://developers.google.com/apps-script) by [motemen](https://github.com/motemen)
+* [:link:](google-apps-script/google-apps-script.lock.d.ts) [Google Apps Script 2015-11-12](https://developers.google.com/apps-script) by [motemen](https://github.com/motemen)
+* [:link:](google-apps-script/google-apps-script.language.d.ts) [Google Apps Script 2015-11-12](https://developers.google.com/apps-script) by [motemen](https://github.com/motemen)
* [:link:](google-apps-script/google-apps-script.contacts.d.ts) [Google Apps Script 2015-11-12](https://developers.google.com/apps-script) by [motemen](https://github.com/motemen)
* [:link:](google-apps-script/google-apps-script.charts.d.ts) [Google Apps Script 2015-11-12](https://developers.google.com/apps-script) by [motemen](https://github.com/motemen)
-* [:link:](google-apps-script/google-apps-script.optimization.d.ts) [Google Apps Script 2015-11-12](https://developers.google.com/apps-script) by [motemen](https://github.com/motemen)
-* [:link:](google-apps-script/google-apps-script.maps.d.ts) [Google Apps Script 2015-11-12](https://developers.google.com/apps-script) by [motemen](https://github.com/motemen)
+* [:link:](google-apps-script/google-apps-script.calendar.d.ts) [Google Apps Script 2015-11-12](https://developers.google.com/apps-script) by [motemen](https://github.com/motemen)
+* [:link:](google-apps-script/google-apps-script.cache.d.ts) [Google Apps Script 2015-11-12](https://developers.google.com/apps-script) by [motemen](https://github.com/motemen)
+* [:link:](google-apps-script/google-apps-script.base.d.ts) [Google Apps Script 2015-11-12](https://developers.google.com/apps-script) by [motemen](https://github.com/motemen)
+* [:link:](google-apps-script/google-apps-script.script.d.ts) [Google Apps Script 2015-11-12](https://developers.google.com/apps-script) by [motemen](https://github.com/motemen)
+* [:link:](google-apps-script/google-apps-script.jdbc.d.ts) [Google Apps Script 2015-11-12](https://developers.google.com/apps-script) by [motemen](https://github.com/motemen)
+* [:link:](google-apps-script/google-apps-script.gmail.d.ts) [Google Apps Script 2015-11-12](https://developers.google.com/apps-script) by [motemen](https://github.com/motemen)
+* [:link:](google-apps-script/google-apps-script.forms.d.ts) [Google Apps Script 2015-11-12](https://developers.google.com/apps-script) by [motemen](https://github.com/motemen)
+* [:link:](google-apps-script/google-apps-script.html.d.ts) [Google Apps Script 2015-11-12](https://developers.google.com/apps-script) by [motemen](https://github.com/motemen)
+* [:link:](google-apps-script/google-apps-script.xml-service.d.ts) [Google Apps Script 2015-11-12](https://developers.google.com/apps-script) by [motemen](https://github.com/motemen)
* [:link:](google-apps-script/google-apps-script.utilities.d.ts) [Google Apps Script 2015-11-12](https://developers.google.com/apps-script) by [motemen](https://github.com/motemen)
* [:link:](google-apps-script/google-apps-script.url-fetch.d.ts) [Google Apps Script 2015-11-12](https://developers.google.com/apps-script) by [motemen](https://github.com/motemen)
-* [:link:](google-apps-script/google-apps-script.script.d.ts) [Google Apps Script 2015-11-12](https://developers.google.com/apps-script) by [motemen](https://github.com/motemen)
* [:link:](google-apps-script/google-apps-script.ui.d.ts) [Google Apps Script 2015-11-12](https://developers.google.com/apps-script) by [motemen](https://github.com/motemen)
-* [:link:](google-apps-script/google-apps-script.jdbc.d.ts) [Google Apps Script 2015-11-12](https://developers.google.com/apps-script) by [motemen](https://github.com/motemen)
-* [:link:](google-apps-script/google-apps-script.drive.d.ts) [Google Apps Script 2015-11-12](https://developers.google.com/apps-script) by [motemen](https://github.com/motemen)
-* [:link:](google-apps-script/google-apps-script.spreadsheet.d.ts) [Google Apps Script 2015-11-12](https://developers.google.com/apps-script) by [motemen](https://github.com/motemen)
-* [:link:](google-apps-script/google-apps-script.mail.d.ts) [Google Apps Script 2015-11-12](https://developers.google.com/apps-script) by [motemen](https://github.com/motemen)
-* [:link:](google-apps-script/google-apps-script.html.d.ts) [Google Apps Script 2015-11-12](https://developers.google.com/apps-script) by [motemen](https://github.com/motemen)
-* [:link:](google-apps-script/google-apps-script.groups.d.ts) [Google Apps Script 2015-11-12](https://developers.google.com/apps-script) by [motemen](https://github.com/motemen)
-* [:link:](google-apps-script/google-apps-script.gmail.d.ts) [Google Apps Script 2015-11-12](https://developers.google.com/apps-script) by [motemen](https://github.com/motemen)
* [:link:](google-apps-script/google-apps-script.types.d.ts) [Google Apps Script 2015-11-12](https://developers.google.com/apps-script) by [motemen](https://github.com/motemen)
-* [:link:](google-apps-script/google-apps-script.properties.d.ts) [Google Apps Script 2015-11-12](https://developers.google.com/apps-script) by [motemen](https://github.com/motemen)
-* [:link:](google-apps-script/google-apps-script.language.d.ts) [Google Apps Script 2015-11-12](https://developers.google.com/apps-script) by [motemen](https://github.com/motemen)
-* [:link:](google-apps-script/google-apps-script.forms.d.ts) [Google Apps Script 2015-11-12](https://developers.google.com/apps-script) by [motemen](https://github.com/motemen)
+* [:link:](google-apps-script/google-apps-script.spreadsheet.d.ts) [Google Apps Script 2015-11-12](https://developers.google.com/apps-script) by [motemen](https://github.com/motemen)
* [:link:](google-apps-script/google-apps-script.sites.d.ts) [Google Apps Script 2015-11-12](https://developers.google.com/apps-script) by [motemen](https://github.com/motemen)
-* [:link:](google-apps-script/google-apps-script.xml-service.d.ts) [Google Apps Script 2015-11-12](https://developers.google.com/apps-script) by [motemen](https://github.com/motemen)
-* [:link:](google-apps-script/google-apps-script.base.d.ts) [Google Apps Script 2015-11-12](https://developers.google.com/apps-script) by [motemen](https://github.com/motemen)
-* [:link:](google-apps-script/google-apps-script.cache.d.ts) [Google Apps Script 2015-11-12](https://developers.google.com/apps-script) by [motemen](https://github.com/motemen)
-* [:link:](google-apps-script/google-apps-script.calendar.d.ts) [Google Apps Script 2015-11-12](https://developers.google.com/apps-script) by [motemen](https://github.com/motemen)
-* [:link:](google-apps-script/google-apps-script.lock.d.ts) [Google Apps Script 2015-11-12](https://developers.google.com/apps-script) by [motemen](https://github.com/motemen)
+* [:link:](google-apps-script/google-apps-script.properties.d.ts) [Google Apps Script 2015-11-12](https://developers.google.com/apps-script) by [motemen](https://github.com/motemen)
+* [:link:](google-apps-script/google-apps-script.document.d.ts) [Google Apps Script 2015-11-12](https://developers.google.com/apps-script) by [motemen](https://github.com/motemen)
+* [:link:](google-apps-script/google-apps-script.optimization.d.ts) [Google Apps Script 2015-11-12](https://developers.google.com/apps-script) by [motemen](https://github.com/motemen)
+* [:link:](google-apps-script/google-apps-script.groups.d.ts) [Google Apps Script 2015-11-12](https://developers.google.com/apps-script) by [motemen](https://github.com/motemen)
+* [:link:](google-apps-script/google-apps-script.drive.d.ts) [Google Apps Script 2015-11-12](https://developers.google.com/apps-script) by [motemen](https://github.com/motemen)
* [:link:](google.feeds/google.feed.api.d.ts) [Google Feed Apis](https://developers.google.com/feed) by [RodneyJT](https://github.com/RodneyJT)
* [:link:](google.geolocation/google.geolocation.d.ts) [Google Geolocation](https://code.google.com/p/geo-location-javascript) by [Vincent Bortone](https://github.com/vbortone)
* [:link:](googlemaps/google.maps.d.ts) [Google Maps JavaScript API](https://developers.google.com/maps) by [Folia A/S](http://www.folia.dk), [Chris Wrench](https://github.com/cgwrench)
@@ -583,6 +605,7 @@ This document generated by [dt-contributors-generator](https://github.com/vvakam
* [:link:](gapi.translate/gapi.translate.d.ts) [Google Translate API](https://developers.google.com/translate) by [Frank M](https://github.com/sgtfrankieboy)
* [:link:](gapi.urlshortener/gapi.urlshortener.d.ts) [Google Url Shortener API](https://developers.google.com/url-shortener) by [Frank M](https://github.com/sgtfrankieboy)
* [:link:](google.visualization/google.visualization.d.ts) [Google Visualisation Apis](https://developers.google.com/chart) by [Dan Ludwig](https://github.com/danludwig)
+* [:link:](google-closure-compiler/google-closure-compiler.d.ts) [google-closure-compiler](https://github.com/chadkillingsworth/closure-compiler-npm) by [Evan Martin](http://neugierig.org)
* [:link:](google-maps/google-maps.d.ts) [google-maps](https://www.npmjs.com/package/google-maps) by [Deividas Bakanas](https://github.com/DeividasBakanas), [Giedrius Grabauskas](https://github.com/GiedriusGrabauskas)
* [:link:](gae.channel.api/gae.channel.api.d.ts) [GoogleAppEngine's Channel API](https://developers.google.com/appengine/docs/java/channel/javascript) by [vvakame](https://github.com/vvakame)
* [:link:](graceful-fs/graceful-fs.d.ts) [graceful-fs](https://github.com/cowboy/graceful-fs) by [Bart van der Schoor](https://github.com/Bartvds)
@@ -590,13 +613,14 @@ This document generated by [dt-contributors-generator](https://github.com/vvakam
* [:link:](graphene-pk11/graphene-pk11.d.ts) [graphene-pk11](https://github.com/PeculiarVentures/graphene) by [Stepan Miroshin](https://github.com/microshine)
* [:link:](graphviz/graphviz.d.ts) [Graphviz](https://github.com/glejeune/node-graphviz) by [Matt Frantz](https://github.com/mhfrantz)
* [:link:](gravatar/gravatar.d.ts) [gravatar](https://github.com/emerleite/node-gravatar) by [Denis Sokolov](https://github.com/denis-sokolov)
+* [:link:](qrcode-generator/qrcode-generator.d.ts) [grcode-generator](https://github.com/kazuhikoarase/qrcode-generator) by [Stefan Huber](https://github.com/stefanhuber)
* [:link:](greasemonkey/greasemonkey.d.ts) [Greasemonkey](http://www.greasespot.net) by [Kota Saito](https://github.com/kotas)
* [:link:](greensock/greensock.d.ts) [GreenSock Animation Platform](http://www.greensock.com/get-started-js) by [Robert S](https://github.com/codebelt)
* [:link:](gridfs-stream/gridfs-stream.d.ts) [gridfs-stream](https://github.com/aheckmann/gridfs-stream) by [Lior Mualem](https://github.com/liorm)
* [:link:](gridstack/gridstack.d.ts) [Gridstack](http://troolee.github.io/gridstack.js) by [Pascal Senn](https://github.com/PascalSenn)
* [:link:](gruntjs/gruntjs.d.ts) [Grunt 0.4.x](http://gruntjs.com) by [Jeff May](https://github.com/jeffmay), [Basarat Ali Syed](https://github.com/basarat)
-* [:link:](gsap/Core.d.ts) [GSAP](http://greensock.com) by [VILIC VANE](https://vilic.github.io)
* [:link:](gsap/Ease.d.ts) [GSAP](http://greensock.com) by [VILIC VANE](https://vilic.github.io)
+* [:link:](gsap/Core.d.ts) [GSAP](http://greensock.com) by [VILIC VANE](https://vilic.github.io)
* [:link:](gsap/TweenLite.d.ts) [GSAP](http://greensock.com) by [VILIC VANE](https://vilic.github.io)
* [:link:](gulp/gulp.d.ts) [Gulp v3.8.x](http://gulpjs.com) by [Drew Noakes](https://drewnoakes.com)
* [:link:](gulp-autoprefixer/gulp-autoprefixer.d.ts) [gulp-autoprefixer](https://github.com/sindresorhus/gulp-autoprefixer) by [Asana](https://asana.com)
@@ -660,6 +684,7 @@ This document generated by [dt-contributors-generator](https://github.com/vvakam
* [:link:](gulp-watch/gulp-watch.d.ts) [gulp-watch](https://github.com/floatdrop/gulp-watch) by [Tanguy Krotoff](https://github.com/tkrotoff)
* [:link:](hammerjs/hammerjs.d.ts) [Hammer.js](http://hammerjs.github.io) by [Philip Bulley](https://github.com/milkisevil), [Han Lin Yap](https://github.com/codler)
* [:link:](handlebars/handlebars.d.ts) [Handlebars](http://handlebarsjs.com) by [Boris Yankov](https://github.com/borisyankov)
+* [:link:](handsontable/handsontable.d.ts) [Handsontable](https://handsontable.com) by [Handsoncode sp. z o.o.](http://handsoncode.net)
* [:link:](hapi/hapi.d.ts) [hapi](http://github.com/spumko/hapi) by [Jason Swearingen](http://github.com/jasonswearingen)
* [:link:](harmony-proxy/harmony-proxy.d.ts) [harmony-proxy](https://www.npmjs.com/package/harmony-proxy) by [Remo Jansen](https://github.com/remojansen)
* [:link:](hasher/hasher.d.ts) [Hasher.js](https://github.com/millermedeiros/hasher) by [flyfishMT](https://github.com/flyfishMT)
@@ -681,6 +706,7 @@ This document generated by [dt-contributors-generator](https://github.com/vvakam
* [:link:](hopscotch/hopscotch.d.ts) [Hopscotch](http://linkedin.github.io/hopscotch) by [Tim Perry](https://github.com/pimterry)
* [:link:](howlerjs/howler.d.ts) [howler.js](https://github.com/goldfire/howler.js) by [Pedro Casaubon](https://github.com/xperiments)
* [:link:](touch-events/touch-events.d.ts) [HTML Touch Events](http://www.w3.org/TR/touch-events) by [Kevin Barabash](https://github.com/kevinb7)
+* [:link:](html-entities/html-entities.d.ts) [html-entities](https://www.npmjs.com/package/html-entities) by [Xavier Stouder](https://github.com/xstoudi)
* [:link:](html-to-text/html-to-text.d.ts) [html-to-text](https://github.com/werk85/node-html-to-text) by [Eryk Warren](https://github.com/erykwarren)
* [:link:](html2canvas/html2canvas.d.ts) [html2canvas.js](https://github.com/niklasvh/html2canvas) by [Richard Hepburn](https://github.com/rwhepburn)
* [:link:](html-minifier/html-minifier.d.ts) [HTMLMinifier](https://github.com/kangax/html-minifier) by [Tanguy Krotoff](https://github.com/tkrotoff)
@@ -693,8 +719,8 @@ This document generated by [dt-contributors-generator](https://github.com/vvakam
* [:link:](humane/humane.d.ts) [Humane](http://wavded.github.com/humane-js) by [jmvrbanac](https://github.com/jmvrbanac)
* [:link:](hypertext-application-language/hypertext-application-language.d.ts) [Hypertext Application Language Draft 6](https://tools.ietf.org/html/draft-kelly-json-hal-06) by [Maks3w](https://github.com/maks3w)
* [:link:](i18n-node/i18n-node.d.ts) [i18n-node](https://github.com/mashpie/i18n-node) by [Maxime LUCE](https://github.com/SomaticIT)
+* [:link:](i18next/i18next.d.ts) [i18next](http://i18next.com) by [Michael Ledin](https://github.com/mxl)
* [:link:](ng-i18next/ng-i18next.d.ts) [i18next](https://github.com/i18next/ng-i18next) by [Cyril Schumacher](https://github.com/cyrilschumacher)
-* [:link:](i18next/i18next.d.ts) [i18next](http://i18next.com) by [Maarten Docter](https://github.com/mdocter)
* [:link:](i18next-browser-languagedetector/i18next-browser-languagedetector.d.ts) [i18next-browser-languagedetector](http://i18next.com) by [Cyril Schumacher](https://github.com/cyrilschumacher)
* [:link:](i18next-express-middleware/i18next-express-middleware.d.ts) [i18next-express-middleware](http://i18next.com) by [Cyril Schumacher](https://github.com/cyrilschumacher)
* [:link:](i18next-node-fs-backend/i18next-node-fs-backend.d.ts) [i18next-node-fs-backend](https://github.com/i18next/i18next-node-fs-backend) by [Cyril Schumacher](https://github.com/cyrilschumacher)
@@ -703,14 +729,16 @@ This document generated by [dt-contributors-generator](https://github.com/vvakam
* [:link:](ibm-mobilefirst/ibm-mobilefirst.d.ts) [IBM MobileFirst Platform Foundation](http://www.ibm.com/software/products/en/mobilefirstfoundation) by [Guillermo Ignacio Enriquez Gutierrez](https://github.com/nacho4d)
* [:link:](icepick/icepick.d.ts) [icepick](https://github.com/aearly/icepick) by [Nathan Brown](https://github.com/ngbrown)
* [:link:](icheck/icheck.d.ts) [iCheck](http://damirfoy.com/iCheck) by [Dániel Tar](https://github.com/qcz)
+* [:link:](iconv/iconv.d.ts) [iconv](https://github.com/bnoordhuis/node-iconv) by [delphinus](https://github.com/delphinus35)
* [:link:](image-size/image-size.d.ts) [image-size](https://github.com/image-size/image-size) by [Elisée MAURER](https://github.com/elisee)
* [:link:](imagemagick/imagemagick.d.ts) [imagemagick](http://github.com/rsms/node-imagemagick) by [Carlos Ballesteros Velasco](https://github.com/soywiz)
* [:link:](imagemagick-native/imagemagick-native.d.ts) [imagemagick-native](https://www.npmjs.org/package/imagemagick-native) by [Hiroki Horiuchi](https://github.com/horiuchi)
* [:link:](imagesloaded/imagesloaded.d.ts) [imagesLoaded](https://github.com/desandro/imagesloaded) by [Chris Charabaruk](http://github.com/coldacid)
* [:link:](imap/imap.d.ts) [imap](https://www.npmjs.com/package/imap) by [Peter Snider](https://github.com/psnider)
* [:link:](imgur-rest-api/imgur-rest-api.d.ts) [Imgur REST API v3](https://api.imgur.com) by [Luke William Westby](http://github.com/lukewestby)
+* [:link:](immutability-helper/immutability-helper.d.ts) [immutability-helper](https://github.com/kolodny/immutability-helper) by [Sean Kelley](https://github.com/seansfkelley)
* [:link:](impress/impress.d.ts) [Impress.js](https://github.com/bartaz/impress.js) by [Boris Yankov](https://github.com/borisyankov)
-* [:link:](incremental-dom/incremental-dom.d.ts) [Incremetal DOM](https://github.com/google/incremental-dom) by [Basarat Ali Syed](https://github.com/basarat)
+* [:link:](incremental-dom/incremental-dom.d.ts) [Incremetal DOM](https://github.com/google/incremental-dom) by [Basarat Ali Syed](https://github.com/basarat), [Markus Lanthaler](https://github.com/lanthaler)
* [:link:](inflected/inflected.d.ts) [inflected](https://github.com/martinandert/inflected) by [Daniel Schmidt](https://github.com/dsci)
* [:link:](inflection/inflection.d.ts) [inflection](https://github.com/dreamerslab/node.inflection) by [Shogo Iwano](https://github.com/shiwano)
* [:link:](inherits/inherits.d.ts) [inherits](https://github.com/isaacs/inherits) by [Ilya Mochalov](https://github.com/chrootsu)
@@ -727,6 +755,7 @@ This document generated by [dt-contributors-generator](https://github.com/vvakam
* [:link:](inversify/inversify.d.ts) [inversify](https://github.com/inversify/InversifyJS) by [inversify](https://github.com/inversify)
* [:link:](ionic/ionic.d.ts) [Ionic](http://ionicframework.com) by [Spencer Williams](https://github.com/spencerwi)
* [:link:](cordova-ionic/cordova-ionic.d.ts) [Ionic Cordova plugins](https://github.com/driftyco) by [Hendrik Maus](https://github.com/hendrikmaus)
+* [:link:](ioredis/ioredis.d.ts) [ioredis](https://github.com/luin/ioredis) by [York Yao](https://github.com/plantain-00)
* [:link:](irc/irc.d.ts) [irc](https://github.com/martynsmith/node-irc) by [phillips1012](https://github.com/phillips1012)
* [:link:](is-lower-case/is-lower-case.d.ts) [is-lower-case](https://github.com/blakeembrey/is-lower-case) by [Sam Saint-Pettersen](https://github.com/stpettersens)
* [:link:](is-my-json-valid/is-my-json-valid.d.ts) [is-my-json-valid](https://github.com/mafintosh/is-my-json-valid) by [kruncher](https://github.com/kruncher)
@@ -877,6 +906,7 @@ This document generated by [dt-contributors-generator](https://github.com/vvakam
* [:link:](js-data-angular/js-data-angular.d.ts) [JSDataAngular](https://github.com/js-data/js-data-angular) by [Stefan Steinhart](https://github.com/reppners)
* [:link:](jsdeferred/jsdeferred.d.ts) [JSDeferred](https://github.com/cho45/jsdeferred) by [Daisuke Mino](https://github.com/minodisk)
* [:link:](jsdom/jsdom.d.ts) [jsdom](https://github.com/tmpvar/jsdom) by [Asana](https://asana.com)
+* [:link:](jsen/jsen.d.ts) [jsen (JSON Sentinel)](https://github.com/bugventure/jsen) by [Vladimir Đokić](https://github.com/vladeck)
* [:link:](jsend/jsend.d.ts) [jsend](https://github.com/Prestaul/jsend) by [Federico Caselli](https://github.com/CaselIT)
* [:link:](jsesc/jsesc.d.ts) [jsesc](https://github.com/mathiasbynens/jsesc) by [Bart van der Schoor](https://github.com/Bartvds)
* [:link:](jsfl/jsfl.d.ts) [JSFL](https://adobe.com) by [soywiz](https://github.com/soywiz)
@@ -888,6 +918,7 @@ This document generated by [dt-contributors-generator](https://github.com/vvakam
* [:link:](jsnox/jsnox.d.ts) [JSnoX](https://github.com/af/jsnox) by [Steve Baker](https://github.com/stkb)
* [:link:](json-patch/json-patch.d.ts) [json-patch](https://github.com/bruth/jsonpatch-js) by [vvakame](https://github.com/vvakame)
* [:link:](json-pointer/json-pointer.d.ts) [json-pointer 1.0 l](https://www.npmjs.org/package/json-pointer) by [Bart van der Schoor](https://github.com/Bartvds)
+* [:link:](json-socket/json-socket.d.ts) [json-socket](https://github.com/sebastianseilund/node-json-socket) by [Sven Reglitzki](https://github.com/svi3c)
* [:link:](json-stable-stringify/json-stable-stringify.d.ts) [json-stable-stringify](https://github.com/substack/json-stable-stringify) by [Matt Frantz](https://github.com/mhfrantz)
* [:link:](json5/json5.d.ts) [JSON5](http://json5.org) by [Jason Swearingen](https://jasonswearingen.github.io)
* [:link:](jsoneditoronline/jsoneditoronline.d.ts) [JSONEditorOnline](https://github.com/josdejong/jsoneditoronline) by [Vincent Bortone](https://github.com/vbortone)
@@ -904,6 +935,7 @@ This document generated by [dt-contributors-generator](https://github.com/vvakam
* [:link:](jsts/jsts.d.ts) [jsts](https://github.com/bjornharrtell/jsts) by [Stephane Alie](https://github.com/StephaneAlie)
* [:link:](jsuri/jsuri.d.ts) [jsUri](https://github.com/derek-watson/jsUri) by [Chris Charabaruk](http://github.com/coldacid), [Florian Wagner](http://github.com/flqw)
* [:link:](jsurl/jsurl.d.ts) [jsurl](https://github.com/Mikhus/jsurl) by [Alexey Gorshkov](https://github.com/agorshkov23)
+* [:link:](jsx-chai/jsx-chai.d.ts) [jsx-chai](https://github.com/bkonkle/jsx-chai) by [Philipp Holzer](https://github.com/nupplaphil)
* [:link:](jszip/jszip.d.ts) [JSZip](http://stuk.github.com/jszip) by [mzeiher](https://github.com/mzeiher)
* [:link:](jug/jug.d.ts) [jug](https://github.com/kaiquewdev/Graph) by [yevt](https://github.com/yevt)
* [:link:](jwplayer/jwplayer.d.ts) [JW Player](http://developer.longtailvideo.com/trac) by [Martin Duparc](https://github.com/martinduparc)
@@ -947,17 +979,22 @@ This document generated by [dt-contributors-generator](https://github.com/vvakam
* [:link:](ko.plus/ko.plus.d.ts) [ko.plus](https://github.com/stevegreatrex/ko.plus) by [Howard Richards](https://github.com/conficient)
* [:link:](koa-compose/koa-compose.d.ts) [koa](https://github.com/koajs/compose) by [jKey Lu](https://github.com/jkeylu)
* [:link:](koa/koa.d.ts) [Koa 2.x](http://koajs.com) by [DavidCai1993](https://github.com/DavidCai1993)
+* [:link:](koa-bodyparser/koa-bodyparser.d.ts) [koa-bodyparser v3.x](https://github.com/koajs/bodyparser) by [Jerry Chin](https://github.com/hellopao)
+* [:link:](koa-favicon/koa-favicon.d.ts) [koa-favicon v2.x](https://github.com/koajs/favicon) by [Jerry Chin](https://github.com/hellopao)
+* [:link:](koa-json/koa-json.d.ts) [koa-json v2.x](https://github.com/koajs/json) by [Alex Friedman](https://github.com/brooklyndev)
* [:link:](koa-router/koa-router.d.ts) [koa-router v7.x](https://github.com/alexmingoia/koa-router) by [Jerry Chin](https://github.com/hellopao)
-* [:link:](kolite/knockout.dirtyFlag.d.ts) [KoLite](https://github.com/CodeSeven/kolite) by [Boris Yankov](https://github.com/borisyankov)
-* [:link:](kolite/knockout.command.d.ts) [KoLite](https://github.com/CodeSeven/kolite) by [Boris Yankov](https://github.com/borisyankov)
-* [:link:](kolite/knockout.activity.d.ts) [KoLite](https://github.com/CodeSeven/kolite) by [Boris Yankov](https://github.com/borisyankov)
+* [:link:](koa-static/koa-static.d.ts) [koa-static v2.x](https://github.com/koajs/static) by [Jerry Chin](https://github.com/hellopao)
* [:link:](kolite/kolite.d.ts) [KoLite](https://github.com/CodeSeven/kolite) by [Boris Yankov](https://github.com/borisyankov)
+* [:link:](kolite/knockout.activity.d.ts) [KoLite](https://github.com/CodeSeven/kolite) by [Boris Yankov](https://github.com/borisyankov)
+* [:link:](kolite/knockout.command.d.ts) [KoLite](https://github.com/CodeSeven/kolite) by [Boris Yankov](https://github.com/borisyankov)
+* [:link:](kolite/knockout.dirtyFlag.d.ts) [KoLite](https://github.com/CodeSeven/kolite) by [Boris Yankov](https://github.com/borisyankov)
* [:link:](konami.js/konami.d.ts) [Konami-js](https://github.com/snaptortoise/konami-js) by [Matthieu Mourisson](https://github.com/mareek)
* [:link:](kue/kue.d.ts) [kue 0.9.x](https://github.com/Automattic/kue) by [Nicholas Penree](http://github.com/drudge)
* [:link:](kuromoji/kuromoji.d.ts) [kuromoji.js](https://github.com/takuyaa/kuromoji.js) by [MIZUSHIMA Junki](https://github.com/mzsm)
* [:link:](ladda/ladda.d.ts) [Ladda](https://github.com/hakimel/Ladda) by [Danil Flores](https://github.com/dflor003), [Michael Lee](https://github.com/leemicw)
* [:link:](lls/lls.d.ts) [LargeLocalStorage](https://github.com/tantaman/LargeLocalStorage) by [Borislav Zhivkov](https://github.com/borislavjivkov)
* [:link:](later/later.d.ts) [LaterJS](http://bunkat.github.io/later) by [Jason D Dryhurst-Smith](http://jasonds.co.uk)
+* [:link:](latinize/latinize.d.ts) [latinize](https://github.com/dundalek/latinize) by [Giedrius Grabauskas](https://github.com/GiedriusGrabauskas)
* [:link:](lazy.js/lazy.js.d.ts) [Lazy.js](https://github.com/dtao/lazy.js) by [Bart van der Schoor](https://github.com/Bartvds)
* [:link:](lazypipe/lazypipe.d.ts) [lazypipe](https://github.com/OverZealous/lazypipe) by [Thomas Corbière](https://github.com/tomc974)
* [:link:](leaflet-curve/leaflet-curve.d.ts) [leaflet-curve](https://github.com/onikiienko/Leaflet.curve) by [Onikiienko](https://github.com/onikiienko)
@@ -992,7 +1029,7 @@ This document generated by [dt-contributors-generator](https://github.com/vvakam
* [:link:](log4js/log4js.d.ts) [log4js](https://github.com/nomiddlename/log4js-node) by [Kentaro Okuno](http://github.com/armorik83)
* [:link:](logg/logg.d.ts) [logg](https://github.com/dpup/node-logg) by [Bret Little](https://github.com/blittle)
* [:link:](loggly/loggly.d.ts) [loggly](https://github.com/nodejitsu/node-loggly) by [Ray Martone](https://github.com/rmartone)
-* [:link:](loglevel/loglevel.d.ts) [loglevel](https://github.com/pimterry/loglevel) by [Stefan Profanter](https://github.com/Pro), [Florian Wagner](https://github.com/flqw)
+* [:link:](loglevel/loglevel.d.ts) [loglevel](https://github.com/pimterry/loglevel) by [Stefan Profanter](https://github.com/Pro), [Florian Wagner](https://github.com/flqw), [Gabor Szmetanko](https://github.com/szmeti)
* [:link:](logrotate-stream/logrotate-stream.d.ts) [logrotate-stream](https://github.com/dstokes/logrotate-stream) by [Rogier Schouten](https://github.com/rogierschouten)
* [:link:](lokijs/lokijs.d.ts) [lokijs](https://github.com/techfort/LokiJS) by [TeamworkGuy2](https://github.com/TeamworkGuy2)
* [:link:](lolex/lolex.d.ts) [lolex](https://github.com/sinonjs/lolex) by [Wim Looman](https://github.com/Nemo157)
@@ -1044,6 +1081,7 @@ This document generated by [dt-contributors-generator](https://github.com/vvakam
* [:link:](node-mysql-wrapper/my-meteor.d.ts) [meteorjs for node-mysql-wrapper which helps in development](https://github.com/nodets/node-mysql-wrapper) by [Makis Maropoulos](https://github.com/kataras)
* [:link:](method-override/method-override.d.ts) [method-override](https://github.com/expressjs/method-override) by [Santi Albo](https://github.com/santialbo)
* [:link:](metismenu/metismenu.d.ts) [metisMenu](http://github.com/onokumus/metisMenu) by [onokums](https://github.com/onokumus)
+* [:link:](microgears/microgears.d.ts) [microgears](http://github.com/marcusdb/microgears) by [Marcus David Bronstein](https://github.com/marcusdb)
* [:link:](micromatch/micromatch.d.ts) [micromatch](https://github.com/jonschlinkert/micromatch) by [glen-84](https://github.com/glen-84)
* [:link:](microsoft-ajax/microsoft.ajax.d.ts) [Microsoft ASP.NET Ajax client side library](http://msdn.microsoft.com/en-us/library/ee341002(v=vs.100).aspx) by [Patrick Magee](https://github.com/pjmagee)
* [:link:](xrm/xrm.d.ts) [Microsoft Dynamics xRM API](http://www.microsoft.com/en-us/download/details.aspx?id=44567) by [David Berry](https://github.com/6ix4our), [Matt Ngan](https://github.com/mattngan), [Markus Mauch](https://github.com/markusmauch)
@@ -1072,8 +1110,8 @@ This document generated by [dt-contributors-generator](https://github.com/vvakam
* [:link:](mkpath/mkpath.d.ts) [mkpath](https://www.npmjs.com/package/mkpath) by [Jared Klopper](https://github.com/optical)
* [:link:](mmmagic/mmmagic.d.ts) [mmmagic](https://github.com/mscdex/mmmagic) by [Andrei Sebastian Cîmpean](http://andreime.com)
* [:link:](mobile-detect/mobile-detect.d.ts) [mobile-detect](http://hgoebl.github.io/mobile-detect.js) by [Martin McWhorter](https://github.com/martinmcwhorter)
-* [:link:](mobservable-react/mobservable-react.d.ts) [mobservable](https://github.com/mweststrate/mobservable-react) by [Michel Weststrate](https://github.com/mweststrate)
* [:link:](mobservable/mobservable.d.ts) [mobservable](https://mweststrate.github.io/mobservable) by [Michel Weststrate](https://github.com/mweststrate)
+* [:link:](mobservable-react/mobservable-react.d.ts) [mobservable](https://github.com/mweststrate/mobservable-react) by [Michel Weststrate](https://github.com/mweststrate)
* [:link:](mocha/mocha-node.d.ts) [mocha](http://mochajs.org) by [Vadim Macagon](https://github.com/enlight), [vvakame](https://github.com/vvakame)
* [:link:](mocha/mocha.d.ts) [mocha](http://mochajs.org) by [Kazi Manzur Rashid](https://github.com/kazimanzurrashid), [otiai10](https://github.com/otiai10), [jt000](https://github.com/jt000), [Vadim Macagon](https://github.com/enlight)
* [:link:](mocha-phantomjs/mocha-phantomjs.d.ts) [mocha-phantomjs](http://metaskills.net/mocha-phantomjs) by [Erik Schierboom](https://github.com/ErikSchierboom)
@@ -1081,9 +1119,9 @@ This document generated by [dt-contributors-generator](https://github.com/vvakam
* [:link:](mockery/mockery.d.ts) [mockery](https://github.com/mfncooper/mockery) by [jt000](https://github.com/jt000)
* [:link:](modernizr/modernizr.d.ts) [Modernizr](http://modernizr.com) by [Boris Yankov](https://github.com/borisyankov), [Theodore Brown](https://github.com/theodorejb), [Leon Yu](https://github.com/leonyu)
* [:link:](moment-timezone/moment-timezone.d.ts) [moment-timezone.js](http://momentjs.com/timezone) by [Michel Salib](https://github.com/michelsalib)
-* [:link:](moment-range/moment-range.d.ts) [Moment.js](https://github.com/gf3/moment-range) by [Bart van den Burg](https://github.com/Burgov), [Wilgert Velinga](https://github.com/wilgert)
-* [:link:](moment/moment.d.ts) [Moment.js](https://github.com/timrwood/moment) by [Michael Lakerveld](https://github.com/Lakerfield), [Aaron King](https://github.com/kingdango), [Hiroki Horiuchi](https://github.com/horiuchi), [Dick van den Brink](https://github.com/DickvdBrink), [Adi Dahiya](https://github.com/adidahiya), [Matt Brooks](https://github.com/EnableSoftware)
* [:link:](moment/moment-node.d.ts) [Moment.js](https://github.com/timrwood/moment) by [Michael Lakerveld](https://github.com/Lakerfield), [Aaron King](https://github.com/kingdango), [Hiroki Horiuchi](https://github.com/horiuchi), [Dick van den Brink](https://github.com/DickvdBrink), [Adi Dahiya](https://github.com/adidahiya), [Matt Brooks](https://github.com/EnableSoftware), [Gal Talmor](https://github.com/galtalmor)
+* [:link:](moment/moment.d.ts) [Moment.js](https://github.com/timrwood/moment) by [Michael Lakerveld](https://github.com/Lakerfield), [Aaron King](https://github.com/kingdango), [Hiroki Horiuchi](https://github.com/horiuchi), [Dick van den Brink](https://github.com/DickvdBrink), [Adi Dahiya](https://github.com/adidahiya), [Matt Brooks](https://github.com/EnableSoftware)
+* [:link:](moment-range/moment-range.d.ts) [Moment.js](https://github.com/gf3/moment-range) by [Bart van den Burg](https://github.com/Burgov), [Wilgert Velinga](https://github.com/wilgert)
* [:link:](mongodb/mongodb.d.ts) [MongoDB](https://github.com/mongodb/node-mongodb-native/tree/2.1) by [Federico Caselli](https://github.com/CaselIT)
* [:link:](mongoose/mongoose.d.ts) [Mongoose](http://mongoosejs.com) by [horiuchi](https://github.com/horiuchi)
* [:link:](mongoose-auto-increment/mongoose-auto-increment.d.ts) [mongoose-auto-increment](https://github.com/codetunnel/mongoose-auto-increment) by [Aya Morisawa](https://github.com/AyaMorisawa)
@@ -1101,7 +1139,7 @@ This document generated by [dt-contributors-generator](https://github.com/vvakam
* [:link:](msgpack/msgpack.d.ts) [msgpack.js - MessagePack JavaScript Implementation](https://github.com/uupaa/msgpack.js) by [Shinya Mochizuki](https://github.com/enrapt-mochizuki)
* [:link:](msnodesql/msnodesql.d.ts) [msnodesql](https://github.com/WindowsAzure/node-sqlserver) by [Boris Yankov](https://github.com/borisyankov), [Maxime LUCE](https://github.com/SomaticIT)
* [:link:](msportalfx-test/msportalfx-test.d.ts) [msportalfx-test](https://msazure.visualstudio.com/DefaultCollection/AzureUX/_git/portalfx-msportalfx-test) by [Julio Casal](https://github.com/julioct)
-* [:link:](mssql/mssql.d.ts) [mssql](https://www.npmjs.com/package/mssql) by [COLSA Corporation](http://www.colsa.com), [Ben Farr](https://github.com/jaminfarr)
+* [:link:](mssql/mssql.d.ts) [mssql](https://www.npmjs.com/package/mssql) by [COLSA Corporation](http://www.colsa.com), [Ben Farr](https://github.com/jaminfarr), [Vitor Buzinaro](https://github.com/buzinas)
* [:link:](mu2/mu2.d.ts) [mu2](http://github.com/raycmorgan/mu) by [Jeff Goddard](https://github.com/jedigo)
* [:link:](multer/multer.d.ts) [multer](https://github.com/expressjs/multer) by [jt000](https://github.com/jt000), [vilicvane](https://vilic.github.io), [David Broder-Rodgers](https://github.com/DavidBR-SW)
* [:link:](multiplexjs/multiplexjs.d.ts) [Multiplex.js](http://github.com/multiplex/multiplex.js) by [Kamyar Nazeri](http://github.com/KamyarNazeri)
@@ -1109,6 +1147,7 @@ This document generated by [dt-contributors-generator](https://github.com/vvakam
* [:link:](mz/mz.d.ts) [mz](https://github.com/normalize/mz) by [Thomas Hickman](https://github.com/ThomasHickman)
* [:link:](nanoajax/nanoajax.d.ts) [nanoajax](https://github.com/yanatan16/nanoajax) by [Nathan Cahill](https://github.com/nathancahill)
* [:link:](natural/natural.d.ts) [Natural](https://github.com/NaturalNode/natural) by [Dylan R. E. Moonfire](https://github.com/dmoonfire)
+* [:link:](natural-sort/natural-sort.d.ts) [NaturalSort](https://github.com/studio-b12/natural-sort) by [Antonio Morales](https://github.com/a-morales)
* [:link:](navigation/navigation.d.ts) [Navigation](http://grahammendick.github.io/navigation) by [Graham Mendick](https://github.com/grahammendick)
* [:link:](nconf/nconf.d.ts) [nconf](https://github.com/flatiron/nconf) by [Jeff Goddard](https://github.com/jedigo), [Jean-Martin Thibault](https://github.com/jmthibault)
* [:link:](ncp/ncp.d.ts) [ncp](https://github.com/AvianFlu/ncp) by [Bart van der Schoor](https://github.com/bartvds)
@@ -1117,6 +1156,7 @@ This document generated by [dt-contributors-generator](https://github.com/vvakam
* [:link:](netmask/netmask.d.ts) [Netmask](https://github.com/rs/node-netmask) by [Matt Frantz](https://github.com/mhfrantz)
* [:link:](nexpect/nexpect.d.ts) [nexpect](https://github.com/nodejitsu/nexpect) by [vvakame](http://github.com/vvakame)
* [:link:](ng-command/ng-command.d.ts) [ng-command](https://github.com/stephenlautier/ng-command) by [Stephen Lautier](https://github.com/stephenlautier)
+* [:link:](ng-facebook/ng-facebook.d.ts) [ng-facebook](https://github.com/GoDisco/ngFacebook) by [Crevil](https://github.com/Crevil)
* [:link:](ng-flow/ng-flow.d.ts) [ng-flow](https://github.com/flowjs/ng-flow) by [Ryan McNamara](https://github.com/ryan10132)
* [:link:](ng-grid/ng-grid.d.ts) [ng-grid](http://angular-ui.github.io/ng-grid) by [Ken Smith](https://github.com/smithkl42), [Roland Zwaga](https://github.com/rolandzwaga), [Kent Cooper](https://github.com/kentcooper)
* [:link:](angular-idle/angular-idle.d.ts) [ng-idle](http://hackedbychinese.github.io/ng-idle) by [mthamil](https://github.com/mthamil)
@@ -1147,7 +1187,7 @@ This document generated by [dt-contributors-generator](https://github.com/vvakam
* [:link:](ng-stomp/ng-stomp.d.ts) [ngStomp](https://github.com/beevelop/ng-stomp) by [Lukasz Potapczuk](https://github.com/lpotapczuk)
* [:link:](ngstorage/ngstorage.d.ts) [ngstorage](https://github.com/gsklee/ngStorage) by [Jakub Pistek](https://github.com/kubiq)
* [:link:](nightmare/nightmare.d.ts) [Nightmare](https://github.com/segmentio/nightmare) by [horiuchi](https://github.com/horiuchi)
-* [:link:](noble/noble.d.ts) [noble](https://github.com/sandeepmistry/noble) by [Seon-Wook Park](https://github.com/swook)
+* [:link:](noble/noble.d.ts) [noble](https://github.com/sandeepmistry/noble) by [Seon-Wook Park](https://github.com/swook), [Hans Bakker](https://github.com/wind-rider)
* [:link:](nock/nock.d.ts) [nock](https://github.com/pgte/nock) by [bonnici](https://github.com/bonnici)
* [:link:](node-imap/imap.d.ts) [node imap](https://github.com/mscdex/node-imap) by [Steve Fenton](https://github.com/Steve-Fenton)
* [:link:](oauth2-server/oauth2-server.d.ts) [Node OAuth2 Server](https://github.com/thomseddon/node-oauth2-server) by [Robbie Van Gorkom](https://github.com/vangorra)
@@ -1189,12 +1229,13 @@ This document generated by [dt-contributors-generator](https://github.com/vvakam
* [:link:](node-sass-middleware/node-sass-middleware.d.ts) [node-sass-middleware](https://github.com/sass/node-sass-middleware) by [Pascal Garber](http://www.jumplink.eu)
* [:link:](node-schedule/node-schedule.d.ts) [node-schedule](https://github.com/tejasmanohar/node-schedule) by [Cyril Schumacher](https://github.com/cyrilschumacher)
* [:link:](node-slack/node-slack.d.ts) [node-slack](https://github.com/xoxco/node-slack) by [Qubo](https://github.com/tkQubo)
+* [:link:](node-snap7/node-snap7.d.ts) [node-snap7](https://github.com/mathiask88/node-snap7) by [Heilingbrunner](https://github.com/heilingbrunner)
* [:link:](srp/srp.d.ts) [node-srp](https://github.com/mozilla/node-srp) by [Pat Smuk](https://github.com/Patman64)
* [:link:](stack-trace/stack-trace.d.ts) [node-stack-trace](https://github.com/felixge/node-stack-trace) by [Exceptionless](https://github.com/exceptionless)
* [:link:](node-uuid/node-uuid-global.d.ts) [node-uuid.js](https://github.com/broofa/node-uuid) by [Jeff May](https://github.com/jeffmay)
-* [:link:](node-uuid/node-uuid.d.ts) [node-uuid.js](https://github.com/broofa/node-uuid) by [Jeff May](https://github.com/jeffmay)
-* [:link:](node-uuid/node-uuid-base.d.ts) [node-uuid.js](https://github.com/broofa/node-uuid) by [Jeff May](https://github.com/jeffmay)
* [:link:](node-uuid/node-uuid-cjs.d.ts) [node-uuid.js](https://github.com/broofa/node-uuid) by [Jeff May](https://github.com/jeffmay)
+* [:link:](node-uuid/node-uuid-base.d.ts) [node-uuid.js](https://github.com/broofa/node-uuid) by [Jeff May](https://github.com/jeffmay)
+* [:link:](node-uuid/node-uuid.d.ts) [node-uuid.js](https://github.com/broofa/node-uuid) by [Jeff May](https://github.com/jeffmay)
* [:link:](node-validator/node-validator.d.ts) [node-validator](https://www.npmjs.com/package/node-validator) by [Ken Gorab](https://github.com/kengorab)
* [:link:](node-webkit/node-webkit.d.ts) [node-webkit](https://github.com/rogerwang/node-webkit) by [Pedro Casaubon](https://github.com/xperiments)
* [:link:](xml2js/xml2js.d.ts) [node-xml2js](https://github.com/Leonidas-from-XIV/node-xml2js) by [Michel Salib](https://github.com/michelsalib), [Jason McNeil](https://github.com/jasonrm), [Christopher Currens](https://github.com/ccurrens)
@@ -1242,8 +1283,8 @@ This document generated by [dt-contributors-generator](https://github.com/vvakam
* [:link:](once/once.d.ts) [once](https://github.com/isaacs/once) by [Denis Sokolov](https://github.com/denis-sokolov)
* [:link:](onoff/onoff.d.ts) [onoff](https://github.com/fivdi/onoff) by [Marcel Ernst](https://github.com/marcel-ernst)
* [:link:](onsenui/onsenui.d.ts) [Onsen UI](http://onsen.io) by [Fran Dios](https://github.com/frankdiox)
-* [:link:](deep-extend/deep-extend.d.ts) [open](https://github.com/unclechu/node-deep-extend) by [rhysd](https://github.com/rhysd)
* [:link:](open/open.d.ts) [open](https://github.com/jjrdn/node-open) by [Bart van der Schoor](https://github.com/Bartvds)
+* [:link:](deep-extend/deep-extend.d.ts) [open](https://github.com/unclechu/node-deep-extend) by [rhysd](https://github.com/rhysd)
* [:link:](OpenJsCad/openjscad.d.ts) [OpenJsCad.js](https://github.com/joostn/OpenJsCad) by [Dan Marshall](https://github.com/danmarshall)
* [:link:](openlayers/openlayers.d.ts) [OpenLayers](http://openlayers.org) by [Wouter Goedhart](https://github.com/woutergd)
* [:link:](openpgp/openpgp.d.ts) [openpgpjs](http://openpgpjs.org) by [Guillaume Lacasa](https://blog.lacasa.fr)
@@ -1271,12 +1312,14 @@ This document generated by [dt-contributors-generator](https://github.com/vvakam
* [:link:](pascal-case/pascal-case.d.ts) [pascal-case](https://github.com/blakeembrey/pascal-case) by [Sam Saint-Pettersen](https://github.com/stpettersens)
* [:link:](passport/passport.d.ts) [Passport](http://passportjs.org) by [Horiuchi_H](https://github.com/horiuchi)
* [:link:](passport-strategy/passport-strategy.d.ts) [Passport Strategy module](https://github.com/jaredhanson/passport-strategy) by [Lior Mualem](https://github.com/liorm)
-* [:link:](passport-twitter/passport-twitter.d.ts) [passport-facebook](https://github.com/jaredhanson/passport-facebook) by [James Roland Cabresos](https://github.com/staticfunction)
* [:link:](passport-facebook/passport-facebook.d.ts) [passport-facebook](https://github.com/jaredhanson/passport-facebook) by [James Roland Cabresos](https://github.com/staticfunction)
* [:link:](passport-google-oauth/passport-google-oauth.d.ts) [passport-facebook](https://github.com/jaredhanson/passport-facebook) by [James Roland Cabresos](https://github.com/staticfunction)
+* [:link:](passport-twitter/passport-twitter.d.ts) [passport-facebook](https://github.com/jaredhanson/passport-facebook) by [James Roland Cabresos](https://github.com/staticfunction)
* [:link:](passport-facebook-token/passport-facebook-token.d.ts) [passport-facebook-token](https://github.com/drudge/passport-facebook-token) by [Ray Martone](https://github.com/rmartone)
* [:link:](passport-http-bearer/passport-http-bearer.d.ts) [passport-http-bearer](https://github.com/jaredhanson/passport-http-bearer) by [Isman Usoh](https://github.com/isman-usoh)
+* [:link:](passport-jwt/passport-jwt.d.ts) [passport-jwt](https://github.com/themikenicholson/passport-jwt) by [TANAKA Koichi](https://github.com/mugeso)
* [:link:](passport-local/passport-local.d.ts) [passport-local](https://github.com/jaredhanson/passport-local) by [Maxime LUCE](https://github.com/SomaticIT)
+* [:link:](password-hash/password-hash.d.ts) [password-hash 1.2.x](https://github.com/davidwood/node-password-hash) by [TANAKA Koichi](https://github.com/mugeso)
* [:link:](path-case/path-case.d.ts) [path-case](https://github.com/blakeembrey/path-case) by [Sam Saint-Pettersen](https://github.com/stpettersens)
* [:link:](path-exists/path-exists.d.ts) [path-exists](https://github.com/sindresorhus/path-exists) by [Shogo Iwano](https://github.com/shiwano)
* [:link:](path-parse/path-parse.d.ts) [path-parse](https://github.com/jbgutierrez/path-parse) by [Dan Chao](http://dchao.co)
@@ -1291,7 +1334,7 @@ This document generated by [dt-contributors-generator](https://github.com/vvakam
* [:link:](pegjs/pegjs.d.ts) [PEG.js](http://pegjs.org) by [vvakame](https://github.com/vvakame), [Tobias Kahlert](https://github.com/SrTobi)
* [:link:](persona/persona.d.ts) [Persona](http://www.mozilla.org/en-US/persona) by [James Frasca](https://github.com/Nycto)
* [:link:](pg/pg.d.ts) [pg](https://github.com/brianc/node-postgres) by [Phips Peter](http://pspeter3.com)
-* [:link:](pg-promise/pg-promise.d.ts) [pg-promise](https://github.com/vitaly-t/pg-promise) by [Jörg Dotzki](https://github.com/ISO50)
+* [:link:](pg-promise/pg-promise.d.ts) [pg-promise](https://github.com/vitaly-t/pg-promise) by [vvakame](https://github.com/vvakame)
* [:link:](pgwmodal/pgwmodal.d.ts) [PgwModal](http://pgwjs.com/pgwmodal) by [Pine Mizune](https://github.com/pine613)
* [:link:](phantomcss/phantomcss.d.ts) [PhantomCSS](https://github.com/Huddle/PhantomCSS) by [Amaury Bauzac](https://github.com/abauzac)
* [:link:](phantom/phantom.d.ts) [PhantomJS bridge for NodeJS](https://github.com/sgentle/phantomjs-node) by [horiuchi](https://github.com/horiuchi), [Random](https://github.com/llRandom)
@@ -1336,9 +1379,11 @@ This document generated by [dt-contributors-generator](https://github.com/vvakam
* [:link:](prelude-ls/prelude-ls.d.ts) [prelude.ls](http://www.preludels.com) by [Aya Morisawa](https://github.com/AyaMorisawa)
* [:link:](prettyjson/prettyjson.d.ts) [prettyjson](https://github.com/rafeca/prettyjson) by [Wael BEN ZID EL GUEBSI](https://github.com/benzid-wael)
* [:link:](meteor-prime8consulting-oauth2/meteor-prime8consulting-oauth2.d.ts) [prime8consulting:meteor-oauth2](https://github.com/prime-8-consulting/meteor-oauth2) by [Robbie Van Gorkom](https://github.com/vangorra)
+* [:link:](prismjs/prism.d.ts) [prism](http://prismjs.com) by [Erik Lieben](https://github.com/eriklieben)
* [:link:](progressjs/progress.d.ts) [ProgressJs](http://usablica.github.io/progress.js) by [Shunsuke Ohtani](https://github.com/zaneli)
* [:link:](project-oxford/project-oxford.d.ts) [project-oxford](https://github.com/felixrieseberg/project-oxford) by [Scott Southwood](https://github.com/scsouthw)
* [:link:](promise/promise.d.ts) [promise](https://www.promisejs.org) by [Manuel Rueda](https://github.com/ManRueda)
+* [:link:](promise-pg/promise-pg.d.ts) [promise-pg](https://bitbucket.org/lplabs/promise-pg) by [Chris Charabaruk](http://github.com/coldacid)
* [:link:](promise-pool/promise-pool.d.ts) [promise-pool](https://github.com/vilic/promise-pool) by [VILIC VANE](https://github.com/vilic)
* [:link:](promises-a-plus/promises-a-plus.d.ts) [promises-a-plus](http://promisesaplus.com) by [Igor Oleinikov](https://github.com/Igorbek)
* [:link:](promisify-supertest/promisify-supertest.d.ts) [promisify-supertest](https://www.npmjs.com/package/promisify-supertest) by [Leo Liang](https://github.com/aleung)
@@ -1364,6 +1409,7 @@ This document generated by [dt-contributors-generator](https://github.com/vvakam
* [:link:](qwest/qwest.d.ts) [qwest](https://github.com/pyrsmk/qwest) by [Lindsay Evans](https://github.com/lindsayevans)
* [:link:](rabbit.js/rabbit.js.d.ts) [rabbit.js](https://github.com/squaremo/rabbit.js) by [Wonshik Kim](https://github.com/wokim)
* [:link:](ractive/ractive.d.ts) [Ractive](http://ractivejs.org) by [Han Lin Yap](http://yap.nu)
+* [:link:](radium/radium.d.ts) [radium](https://github.com/formidablelabs/radium) by [Alex Gorbatchev](https://github.com/alexgorbatchev), [Philipp Holzer](https://github.com/nupplaphil)
* [:link:](random-js/random-js.d.ts) [random-js](https://github.com/ckknight/random-js) by [Gustavo Di Pietro](https://github.com/pistacchio)
* [:link:](random-string/random-string.d.ts) [random-string](https://github.com/valiton/node-random-string) by [Sam Saint-Pettersen](https://github.com/stpettersens)
* [:link:](rangy/rangy.d.ts) [Rangy](https://github.com/timdown/rangy) by [Rudolph Gottesheim](http://www.midnight-design.at)
@@ -1390,6 +1436,7 @@ This document generated by [dt-contributors-generator](https://github.com/vvakam
* [:link:](rc-select/rc-select.d.ts) [React Select](https://github.com/react-component/select) by [Denis Tirilis](https://github.com/DenisTirilis)
* [:link:](react-bootstrap/react-bootstrap.d.ts) [react-bootstrap](https://github.com/react-bootstrap/react-bootstrap) by [Walker Burgin](https://github.com/walkerburgin), [Vincent Siao](https://github.com/vsiao)
* [:link:](react-bootstrap-table/react-bootstrap-table.d.ts) [react-bootstrap-table](https://github.com/AllenFang/react-bootstrap-table) by [Frank Laub](https://github.com/flaub)
+* [:link:](react-cropper/react-cropper.d.ts) [react-cropper](https://github.com/roadmanfong/react-cropper) by [Stepan Mikhaylyuk](https://github.com/stepancar)
* [:link:](react-datagrid/react-datagrid.d.ts) [react-datagrid](https://github.com/zippyui/react-datagrid.git) by [Stephen Jelfs](https://github.com/stephenjelfs)
* [:link:](react-day-picker/react-day-picker.d.ts) [react-day-picker](https://github.com/gpbl/react-day-picker) by [Giampaolo Bellavite](https://github.com/gpbl), [Jason Killian](https://github.com/jkillian)
* [:link:](react-dropzone/react-dropzone.d.ts) [react-dropzone](https://github.com/paramaggarwal/react-dropzone) by [Mathieu Larouche Dube](https://github.com/matdube)
@@ -1400,9 +1447,10 @@ This document generated by [dt-contributors-generator](https://github.com/vvakam
* [:link:](react-input-calendar/react-input-calendar.d.ts) [react-input-calendar](https://github.com/Rudeg/react-input-calendar) by [Stepan Mikhaylyuk](https://github.com/stepancar)
* [:link:](react-intl/react-intl.d.ts) [react-intl](http://formatjs.io/react) by [Bruno Grieder](https://github.com/bgrieder), [Christian Droulers](https://github.com/cdroulers)
* [:link:](react-mixin/react-mixin.d.ts) [react-mixin](https://github.com/brigand/react-mixin) by [Qubo](https://github.com/tkqubo)
+* [:link:](react-motion/react-motion.d.ts) [react-motion](https://github.com/chenglou/react-motion) by [Stepan Mikhaylyuk](https://github.com/stepancar)
* [:link:](react-native/react-native.d.ts) [react-native](https://github.com/facebook/react-native) by [Bruno Grieder](https://github.com/bgrieder)
* [:link:](react-props-decorators/react-props-decorators.d.ts) [react-props-decorators](https://github.com/popkirby/react-props-decorators) by [Qubo](https://github.com/tkqubo)
-* [:link:](react-redux/react-redux.d.ts) [react-redux](https://github.com/rackt/react-redux) by [Qubo](https://github.com/tkqubo)
+* [:link:](react-redux/react-redux.d.ts) [react-redux](https://github.com/rackt/react-redux) by [Qubo](https://github.com/tkqubo), [Sean Kelley](https://github.com/seansfkelley)
* [:link:](react-router/react-router.d.ts) [react-router](https://github.com/rackt/react-router) by [Sergey Buturlakin](https://github.com/sergey-buturlakin), [Yuichi Murata](https://github.com/mrk21), [Václav Ostrožlík](https://github.com/vasek17), [Nathan Brown](https://github.com/ngbrown)
* [:link:](react-router-bootstrap/react-router-bootstrap.d.ts) [react-router-bootstrap](https://github.com/react-bootstrap/react-router-bootstrap) by [Vincent Lesierse](https://github.com/vlesierse)
* [:link:](react-router-redux/react-router-redux.d.ts) [react-router-redux](https://github.com/rackt/react-router-redux) by [Isman Usoh](http://github.com/isman-usoh), [Noah Shipley](https://github.com/noah79), [Dimitri Rosenberg](https://github.com/rosendi)
@@ -1411,15 +1459,20 @@ This document generated by [dt-contributors-generator](https://github.com/vvakam
* [:link:](react-spinkit/react-spinkit.d.ts) [react-spinkit](https://github.com/KyleAMathews/react-spinkit) by [Qubo](https://github.com/tkqubo)
* [:link:](react-swf/react-swf.d.ts) [react-swf](https://github.com/syranide/react-swf) by [Stepan Mikhaylyuk](https://github.com/stepancar)
* [:link:](react-swipeable-views/react-swipeable-views.d.ts) [react-swipeable-views](https://github.com/oliviertassinari/react-swipeable-views) by [Michael Ledin](https://github.com/mxl)
+* [:link:](react-tabs/react-tabs.d.ts) [react-tabs](https://github.com/reactjs/react-tabs) by [Yuu Igarashi](https://github.com/yu-i9)
+* [:link:](react-tagcloud/react-tagcloud.d.ts) [react-tagcloud](https://github.com/madox2/react-tagcloud) by [wassname](https://github.com/wassname)
* [:link:](react-tap-event-plugin/react-tap-event-plugin.d.ts) [react-tap-event-plugin](https://github.com/zilverline/react-tap-event-plugin) by [Michael Ledin](https://github.com/mxl)
+* [:link:](react-widgets/react-widgets.d.ts) [react-widgets](https://github.com/jquense/react-widgets) by [Rogier Schouten](https://github.com/rogierschouten)
* [:link:](read/read.d.ts) [read](https://github.com/isaacs/read) by [Tim JK](https://github.com/timjk)
* [:link:](readdir-stream/readdir-stream.d.ts) [readdir-stream](https://github.com/logicalparadox/readdir-stream) by [Bart van der Schoor](https://github.com/Bartvds)
+* [:link:](rebass/rebass.d.ts) [Rebass](https://github.com/jxnblk/rebass) by [rhysd](https://rhysd.github.io)
* [:link:](recursive-readdir/recursive-readdir.d.ts) [recursive-readdir](https://github.com/jergason/recursive-readdir) by [Elisée Maurer](https://github.com/elisee)
* [:link:](redis/redis.d.ts) [redis](https://github.com/mranney/node_redis) by [Carlos Ballesteros Velasco](https://github.com/soywiz), [Peter Harris](https://github.com/CodeAnimal), [TANAKA Koichi](https://github.com/MugeSo)
* [:link:](redlock/redlock.d.ts) [Redlock](https://github.com/mike-marcacci/node-redlock) by [Ilya Mochalov](https://github.com/chrootsu)
* [:link:](redux/redux.d.ts) [Redux](https://github.com/rackt/redux) by [William Buchwalter](https://github.com/wbuchwalter), [Vincent Prouillet](https://github.com/Keats)
* [:link:](redux-action-utils/redux-action-utils.d.ts) [redux-action-utils](https://github.com/insin/redux-action-utils) by [Qubo](https://github.com/tkqubo)
* [:link:](redux-actions/redux-actions.d.ts) [redux-actions](https://github.com/acdlite/redux-actions) by [Jack Hsu](https://github.com/jaysoo)
+* [:link:](redux-debounced/redux-debounced.d.ts) [redux-debounced](https://github.com/ryanseddon/redux-debounced) by [Sean Kelley](https://github.com/seansfkelley)
* [:link:](redux-devtools/redux-devtools.d.ts) [redux-devtools](https://github.com/gaearon/redux-devtools) by [Petryshyn Sergii](https://github.com/mc-petry)
* [:link:](redux-devtools-dock-monitor/redux-devtools-dock-monitor.d.ts) [redux-devtools-dock-monitor](https://github.com/gaearon/redux-devtools-dock-monitor) by [Petryshyn Sergii](https://github.com/mc-petry)
* [:link:](redux-devtools-log-monitor/redux-devtools-log-monitor.d.ts) [redux-devtools-log-monitor](https://github.com/gaearon/redux-devtools-log-monitor) by [Petryshyn Sergii](https://github.com/mc-petry)
@@ -1427,6 +1480,7 @@ This document generated by [dt-contributors-generator](https://github.com/vvakam
* [:link:](react-scroll/react-scroll.d.ts) [redux-immutable](https://github.com/fisshy/react-scroll) by [Pedro Pereira](https://github.com/oizie)
* [:link:](redux-immutable/redux-immutable.d.ts) [redux-immutable](https://github.com/gajus/redux-immutable) by [Pedro Pereira](https://github.com/oizie)
* [:link:](redux-logger/redux-logger.d.ts) [redux-logger](https://github.com/fcomb/redux-logger) by [Alexander Rusakov](https://github.com/arusakov)
+* [:link:](redux-promise/redux-promise.d.ts) [redux-promise](https://github.com/acdlite/redux-promise) by [Rogelio Morrell Caballero](https://github.com/molekilla)
* [:link:](redux-router/redux-router.d.ts) [redux-router](https://github.com/rackt/redux-router) by [Stepan Mikhaylyuk](http://github.com/stepancar)
* [:link:](redux-saga/redux-saga.d.ts) [redux-saga](https://github.com/yelouafi/redux-saga) by [Daniel Lytkin](https://github.com/aikoven), [Dimitri Rosenberg](https://github.com/rosendi)
* [:link:](redux-thunk/redux-thunk.d.ts) [redux-thunk](https://github.com/gaearon/redux-thunk) by [Qubo](https://github.com/tkqubo)
@@ -1443,6 +1497,7 @@ This document generated by [dt-contributors-generator](https://github.com/vvakam
* [:link:](requirejs/require.d.ts) [RequireJS](http://requirejs.org) by [Josh Baldwin](https://github.com/jbaldwin)
* [:link:](reselect/reselect.d.ts) [reselect](https://github.com/rackt/reselect) by [Ian Ker-Seymer](https://github.com/ianks)
* [:link:](resemblejs/resemblejs.d.ts) [Resemble.js](http://huddle.github.io/Resemble.js) by [Tim Perry](https://github.com/pimterry)
+* [:link:](resolve-from/resolve-from.d.ts) [resolve-from](https://github.com/sindresorhus/resolve-from) by [unional](https://github.com/unional)
* [:link:](response-time/response-time.d.ts) [response-time](https://github.com/expressjs/response-time) by [Uros Smolnik](https://github.com/urossmolnik)
* [:link:](rest-io/rest-io.d.ts) [rest-io](https://github.com/EnoF/rest-io) by [Andy Tang](https://github.com/EnoF), [Stefan Schacherl](https://github.com/TheBay0r)
* [:link:](rest/rest.d.ts) [rest.js](https://github.com/cujojs/rest) by [Wim Looman](https://github.com/Nemo157)
@@ -1469,6 +1524,7 @@ This document generated by [dt-contributors-generator](https://github.com/vvakam
* [:link:](rtree/rtree.d.ts) [rtree](https://github.com/leaflet-extras/RTree) by [Omede Firouz](https://github.com/oefirouz)
* [:link:](run-sequence/run-sequence.d.ts) [run-sequence](https://github.com/OverZealous/run-sequence) by [Keita Kagurazaka](https://github.com/k-kagurazaka)
* [:link:](rx/rx.d.ts) [RxJS](http://rx.codeplex.com) by [gsino](http://www.codeplex.com/site/users/view/gsino), [Igor Oleinikov](https://github.com/Igorbek)
+* [:link:](rx-dom/rx-dom.d.ts) [RxJS](https://github.com/Reactive-Extensions/RxJS-DOM) by [oliver Weichhold](https://github.com/oliverw)
* [:link:](rx/rx.aggregates.d.ts) [RxJS-Aggregates](http://rx.codeplex.com) by [Carl de Billy](http://carl.debilly.net), [Igor Oleinikov](https://github.com/Igorbek)
* [:link:](rx/rx.all.d.ts) [RxJS-All](http://rx.codeplex.com) by [Carl de Billy](http://carl.debilly.net), [Igor Oleinikov](https://github.com/Igorbek)
* [:link:](rx/rx.async.d.ts) [RxJS-Async](http://rx.codeplex.com) by [zoetrope](https://github.com/zoetrope), [Igor Oleinikov](https://github.com/Igorbek)
@@ -1511,8 +1567,8 @@ This document generated by [dt-contributors-generator](https://github.com/vvakam
* [:link:](sentence-case/sentence-case.d.ts) [sentence-case](https://github.com/blakeembrey/sentence-case) by [Sam Saint-Pettersen](https://github.com/stpettersens)
* [:link:](sequelize/sequelize.d.ts) [Sequelize](http://sequelizejs.com) by [samuelneff](https://github.com/samuelneff), [Peter Harris](https://github.com/codeanimal), [Ivan Drinchev](https://github.com/drinchev)
* [:link:](sequelize-fixtures/sequelize-fixtures.d.ts) [Sequelize-Fixtures](https://github.com/domasx2/sequelize-fixtures) by [Christian Schwarz](https://github.com/cschwarz)
-* [:link:](serve-favicon/serve-favicon.d.ts) [serve-favicon](https://github.com/expressjs/serve-favicon) by [Uros Smolnik](https://github.com/urossmolnik)
* [:link:](on-headers/on-headers.d.ts) [serve-favicon](https://github.com/jshttp/on-headers) by [John Jeffery](https://github.com/jjeffery)
+* [:link:](serve-favicon/serve-favicon.d.ts) [serve-favicon](https://github.com/expressjs/serve-favicon) by [Uros Smolnik](https://github.com/urossmolnik)
* [:link:](serve-index/serve-index.d.ts) [serve-index](https://github.com/expressjs/serve-index) by [Tanguy Krotoff](https://github.com/tkrotoff)
* [:link:](serve-static/serve-static.d.ts) [serve-static](https://github.com/expressjs/serve-static) by [Uros Smolnik](https://github.com/urossmolnik)
* [:link:](ss-utils/ss-utils.d.ts) [ServiceStack Utils](https://servicestack.net) by [Demis Bellot](https://github.com/mythz)
@@ -1546,13 +1602,16 @@ This document generated by [dt-contributors-generator](https://github.com/vvakam
* [:link:](slickgrid/slick.autotooltips.d.ts) [SlickGrid AutoToolTips Plugin](https://github.com/mleibman/SlickGrid) by [Ryo Iwamoto](https://github.com/ryiwamoto)
* [:link:](slickgrid/slick.headerbuttons.d.ts) [SlickGrid HeaderButtons Plugin](https://github.com/mleibman/SlickGrid) by [Derek Cicerone](https://github.com/derekcicerone)
* [:link:](slickgrid/slick.rowselectionmodel.d.ts) [SlickGrid RowSelectionModel Plugin](https://github.com/mleibman/SlickGrid) by [Derek Cicerone](https://github.com/derekcicerone)
+* [:link:](slideout/slideout.d.ts) [Slideout](https://github.com/mango/slideout) by [Markus Peloso](https://github.com/ToastHawaii)
* [:link:](smoothie/smoothie.d.ts) [Smoothie Charts](https://github.com/joewalnes/smoothie) by [Drew Noakes](https://drewnoakes.com), [Mike H. Hawley](https://github.com/mikehhawley)
* [:link:](smtpapi/smtpapi.d.ts) [smtpapi-nodejs](https://github.com/sendgrid/smtpapi-nodejs) by [Antonio Morales](https://github.com/a-morales)
* [:link:](snake-case/snake-case.d.ts) [snake-case](https://github.com/blakeembrey/snake-case) by [Sam Saint-Pettersen](https://github.com/stpettersens)
* [:link:](snapsvg/snapsvg.d.ts) [Snap-SVG](https://github.com/adobe-webplatform/Snap.svg) by [Lars Klein](https://github.com/lhk), [Mattanja Kern](https://github.com/mattanja)
* [:link:](soap/soap.d.ts) [soap](https://www.npmjs.com/package/soap) by [Nicole Wang](https://github.com/nicoleWjie)
+* [:link:](cordova-plugin-x-socialsharing/cordova-plugin-x-socialsharing.d.ts) [SocialSharing-PhoneGap-Plugin](https://github.com/EddyVerbruggen/SocialSharing-PhoneGap-Plugin) by [Markus Wagner](https://github.com/Ritzlgrmft)
* [:link:](socket.io/socket.io.d.ts) [socket.io](http://socket.io) by [PROGRE](https://github.com/progre), [Damian Connolly](https://github.com/divillysausages), [Florent Poujol](https://github.com/florentpoujol)
* [:link:](socket.io-client/socket.io-client.d.ts) [socket.io-client](http://socket.io) by [PROGRE](https://github.com/progre), [Damian Connolly](https://github.com/divillysausages), [Florent Poujol](https://github.com/florentpoujol)
+* [:link:](socket.io-redis/socket.io-redis.d.ts) [socket.io-redis](https://github.com/socketio/socket.io-redis) by [Philipp Holzer](https://github.com/nupplaphil)
* [:link:](socket.io.users/socket.io.users.d.ts) [socket.io.users](https://github.com/nodets/socket.io.users) by [Makis Maropoulos](https://github.com/kataras)
* [:link:](socketty/socketty.d.ts) [Socketty](https://www.npmjs.com/package/socketty) by [Nax](https://github.com/Nax)
* [:link:](sockjs/sockjs.d.ts) [SockJS 0.3.x](https://github.com/sockjs/sockjs-client) by [Emil Ivanov](https://github.com/vladev)
@@ -1586,6 +1645,7 @@ This document generated by [dt-contributors-generator](https://github.com/vvakam
* [:link:](steam/steam.d.ts) [steam](https://github.com/seishun/node-steam) by [Andrey Kurdyumov](https://github.com/kant2002)
* [:link:](slick-carousel/slick-carousel.d.ts) [stick](http://kenwheeler.github.io/slick) by [John Gouigouix](https://github.com/orchestra-ts/DefinitelyTyped)
* [:link:](storejs/storejs.d.ts) [store.js](https://github.com/marcuswestin/store.js) by [Vincent Bortone](https://github.com/vbortone)
+* [:link:](stream-meter/stream-meter.d.ts) [stream-meter](https://github.com/brycebaril/node-stream-meter) by [TANAKA Koichi](https://github.com/mugeso)
* [:link:](stream-series/stream-series.d.ts) [stream-series](https://github.com/rschmukler/stream-series) by [Keita Kagurazaka](https://github.com/k-kagurazaka)
* [:link:](stream-to-array/stream-to-array.d.ts) [stream-to-array](https://github.com/stream-utils/stream-to-array) by [Bart van der Schoor](https://github.com/Bartvds)
* [:link:](streamjs/streamjs.d.ts) [streamjs](http://winterbe.github.io/streamjs) by [Bence Eros](https://github.com/erosb)
@@ -1594,7 +1654,7 @@ This document generated by [dt-contributors-generator](https://github.com/vvakam
* [:link:](strip-json-comments/strip-json-comments.d.ts) [strip-json-comments](https://github.com/sindresorhus/strip-json-comments) by [Dylan R. E. Moonfire](https://github.com/dmoonfire)
* [:link:](stripe/stripe.d.ts) [stripe](https://stripe.com) by [Andy Hawkins](https://github.com/a904guy/,http://a904guy.com), [Eric J. Smith](https://github.com/ejsmith), [Amrit Kahlon](https://github.com/amritk)
* [:link:](stripe-checkout/stripe-checkout.d.ts) [Stripe Checkout](https://stripe.com/checkout) by [Chris Wrench](https://github.com/cgwrench)
-* [:link:](stripe/stripe-node.d.ts) [stripe-node](https://github.com/stripe/stripe-node) by [William Johnston](https://github.com/wjohnsto)
+* [:link:](stripe/stripe-node.d.ts) [stripe-node](https://github.com/stripe/stripe-node) by [William Johnston](https://github.com/wjohnsto), [Peter Harris](https://github.com/codeanimal)
* [:link:](strophe/strophe.d.ts) [Strophe.js](http://strophe.im/strophejs) by [David Deutsch](https://github.com/DavidKDeutsch)
* [:link:](stylus/stylus.d.ts) [stylus](https://github.com/LearnBoost/stylus) by [Maxime LUCE](https://github.com/SomaticIT)
* [:link:](sugar/sugar.d.ts) [Sugar](http://sugarjs.com) by [Josh Baldwin](https://github.com/jbaldwin)
@@ -1637,6 +1697,7 @@ This document generated by [dt-contributors-generator](https://github.com/vvakam
* [:link:](text-buffer/text-buffer.d.ts) [text-buffer](https://github.com/atom/text-buffer) by [vvakame](https://github.com/vvakame)
* [:link:](text-encoding/text-encoding.d.ts) [text-encoding](https://github.com/inexorabletash/text-encoding) by [MIZUNE Pine](https://github.com/pine613)
* [:link:](facebook-js-sdk/facebook-js-sdk.d.ts) [the Facebook Javascript SDK](https://developers.facebook.com/docs/javascript) by [Amrit Kahlon](https://github.com/amritk)
+* [:link:](facebook-pixel/facebook-pixel.d.ts) [the Facebook Pixel Tag API](https://developers.facebook.com/docs/ads-for-websites/tag-api) by [Noctis Hsu](https://github.com/noctishsu)
* [:link:](spotify-api/spotify-api.d.ts) [The Spotify Web API](https://developer.spotify.com/web-api) by [Niels Kristian Hansen Skovmand](https://github.com/skovmand)
* [:link:](threejs/three-FirstPersonControls.d.ts) [three.js](http://mrdoob.github.com/three.js) by [Poul Kjeldager Sørensen](https://github.com/s093294)
* [:link:](threejs/three-canvasrenderer.d.ts) [three.js (CanvasRenderer.js)](https://github.com/mrdoob/three.js/blob/master/examples/js/renderers/CanvasRenderer.js) by [Satoru Kimura](https://github.com/gyohk)
@@ -1655,7 +1716,7 @@ This document generated by [dt-contributors-generator](https://github.com/vvakam
* [:link:](threejs/three-transformcontrols.d.ts) [three.js (TransformControls.js)](https://github.com/mrdoob/three.js/blob/master/examples/js/controls/TransformControls.js) by [Stefan Profanter](https://github.com/Pro)
* [:link:](threejs/three-vrcontrols.d.ts) [three.js (VRControls.js)](https://github.com/mrdoob/three.js/blob/master/examples/js/controls/VRControls.js) by [Toshiya Nakakura](https://github.com/nakakura)
* [:link:](threejs/three-vreffect.d.ts) [three.js (VREffect.js)](https://github.com/mrdoob/three.js/blob/master/examples/js/effects/VREffect.js) by [Toshiya Nakakura](https://github.com/nakakura)
-* [:link:](threejs/three.d.ts) [three.js r73](http://mrdoob.github.com/three.js) by [Kon](http://phyzkit.net), [Satoru Kimura](https://github.com/gyohk)
+* [:link:](threejs/three.d.ts) [three.js r75](http://mrdoob.github.com/three.js) by [Kon](http://phyzkit.net), [Satoru Kimura](https://github.com/gyohk), [Florent Poujol](https://github.com/florentpoujol), [SereznoKot](https://github.com/SereznoKot)
* [:link:](thrift/thrift.d.ts) [thrift](https://www.npmjs.com/package/thrift) by [Zachary Collins](https://github.com/corps)
* [:link:](through/through.d.ts) [through](https://github.com/dominictarr/through) by [Andrew Gaspar](https://github.com/AndrewGaspar)
* [:link:](through2/through2.d.ts) [through2 v](https://github.com/rvagg/through2) by [Bart van der Schoor](https://github.com/Bartvds), [jedmao](https://github.com/jedmao), [Georgios Valotasios](https://github.com/valotas)
@@ -1684,14 +1745,15 @@ This document generated by [dt-contributors-generator](https://github.com/vvakam
* [:link:](twig/twig.d.ts) [twig](https://github.com/justjohn/twig.js) by [Carlos Ballesteros Velasco](https://github.com/soywiz)
* [:link:](twitter/twitter.d.ts) [Twitter for Websites](https://dev.twitter.com/web) by [Chitoku](https://github.com/chitoku-k)
* [:link:](jquery.bootstrap.wizard/jquery.bootstrap.wizard.d.ts) [twitter-bootstrap-wizard](https://github.com/VinceG/twitter-bootstrap-wizard) by [Blake Niemyjski](https://github.com/niemyjski)
+* [:link:](twitter-text/twitter-text.d.ts) [twitter-text](https://github.com/twitter/twitter-text) by [rhysd](https://rhysd.github.io)
* [:link:](twix/twix.d.ts) [twix.js](https://github.com/icambron/twix.js) by [j3ko](https://github.com/j3ko)
* [:link:](type-check/type-check.d.ts) [type-check](https://github.com/gkz/type-check) by [Hans Windhoff](https://github.com/hansrwindhoff)
* [:link:](type-detect/type-detect.d.ts) [type-detect](https://github.com/chaijs/type-detect) by [Bart van der Schoor](https://github.com/Bartvds)
* [:link:](type-name/type-name.d.ts) [type-name](https://github.com/twada/type-name) by [OKUNOKENTARO](https://github.com/armorik83)
* [:link:](typeahead/typeahead.d.ts) [typeahead.js](http://twitter.github.io/typeahead.js) by [Ivaylo Gochkov](https://github.com/igochkov), [Gidon Junge](https://github.com/gjunge)
* [:link:](webfontloader/webfontloader.d.ts) [typekit-webfontloader](https://github.com/typekit/webfontloader) by [doskallemaskin](https://github.com/doskallemaskin)
-* [:link:](typescript/typescript.d.ts) [TypeScript API](http://www.typescriptlang.org) by [Microsoft TypeScript](http://typescriptlang.org)
* [:link:](typescript-services/typescriptServices.d.ts) [TypeScript API](http://www.typescriptlang.org) by [Microsoft TypeScript](http://typescriptlang.org)
+* [:link:](typescript/typescript.d.ts) [TypeScript API](http://www.typescriptlang.org) by [Microsoft TypeScript](http://typescriptlang.org)
* [:link:](typescript-deferred/typescript-deferred.d.ts) [typescript-deferred](https://github.com/DirtyHairy/typescript-deferred) by [Christian Speckner](https://github.com/DirtyHairy)
* [:link:](meteor-persistent-session/meteor-persistent-session.d.ts) [u2622:persistent-session](https://github.com/okgrow/meteor-persistent-session) by [Robbie Van Gorkom](https://github.com/vangorra)
* [:link:](ua-parser-js/ua-parser-js.d.ts) [ua-parser-js](https://github.com/faisalman/ua-parser-js) by [Viktor Miroshnikov](https://github.com/superduper), [Lucas Woo](https://github.com/legendecas)
@@ -1701,8 +1763,8 @@ This document generated by [dt-contributors-generator](https://github.com/vvakam
* [:link:](ui-router-extras/ui-router-extras.d.ts) [UI-Router Extras (ct.ui.router.extras module)](https://github.com/christopherthielen/ui-router-extras) by [Michael Putters](https://github.com/mputters), [Marcel van de Kamp](https://github.com/marcel-k)
* [:link:](ui-select/ui-select.d.ts) [ui-select](https://github.com/angular-ui/ui-select) by [Niko Kovačič](https://github.com/nkovacic)
* [:link:](uikit/uikit.d.ts) [uikit](http://getuikit.org) by [Giovanni Silva](https://github.com/giovannicandido)
-* [:link:](umbraco/umbraco-services.d.ts) [Umbraco](https://github.com/umbraco) by [DeCareSystemsIreland](https://github.com/DeCareSystemsIreland)
* [:link:](umbraco/umbraco-resources.d.ts) [Umbraco](https://github.com/umbraco) by [DeCareSystemsIreland](https://github.com/DeCareSystemsIreland)
+* [:link:](umbraco/umbraco-services.d.ts) [Umbraco](https://github.com/umbraco) by [DeCareSystemsIreland](https://github.com/DeCareSystemsIreland)
* [:link:](umbraco/umbraco.d.ts) [Umbraco](https://github.com/umbraco) by [DeCareSystemsIreland](https://github.com/DeCareSystemsIreland)
* [:link:](umzug/umzug.d.ts) [Umzug](https://github.com/sequelize/umzug) by [Ivan Drinchev](https://github.com/drinchev)
* [:link:](underscore/underscore.d.ts) [Underscore](http://underscorejs.org) by [Boris Yankov](https://github.com/borisyankov), [Josh Baldwin](https://github.com/jbaldwin), [Christopher Currens](https://github.com/ccurrens)
@@ -1727,6 +1789,7 @@ This document generated by [dt-contributors-generator](https://github.com/vvakam
* [:link:](usage/usage.d.ts) [usage](https://github.com/arunoda/node-usage) by [Pascal Vomhoff](https://github.com/pvomhoff)
* [:link:](username/username.d.ts) [username](https://www.npmjs.com/package/username) by [Klaus Reimer](https://github.com/kayahr)
* [:link:](utils-merge/utils-merge.d.ts) [utils-merge](https://github.com/jaredhanson/utils-merge) by [Ilya Mochalov](https://github.com/chrootsu)
+* [:link:](uuid-1345/uuid-1345.d.ts) [uuid-1345](https://github.com/scravy/uuid-1345) by [TANAKA Koichi](https://github.com/mugeso)
* [:link:](uuid/UUID.d.ts) [UUID.js](https://github.com/LiosK/UUID.js) by [Jason Jarrett](https://github.com/staxmanade)
* [:link:](valerie/valerie.d.ts) [valerie](https://github.com/davewatts/valerie) by [Howard Richards](https://github.com/conficient)
* [:link:](validator/validator.d.ts) [validator.js](https://github.com/chriso/validator.js) by [tgfjt](https://github.com/tgfjt), [Ilya Mochalov](https://github.com/chrootsu)
@@ -1753,6 +1816,7 @@ This document generated by [dt-contributors-generator](https://github.com/vvakam
* [:link:](vue/vue.d.ts) [vuejs](https://github.com/vuejs/vue) by [odangosan](https://github.com/odangosan), [kaorun343](https://github.com/kaorun343)
* [:link:](w2ui/w2ui.d.ts) [w2ui](http://w2ui.com) by [Valentin Robert](https://github.com/Ptival)
* [:link:](wake_on_lan/wake_on_lan.d.ts) [wake_on_lan](https://github.com/agnat/node_wake_on_lan) by [Tobias Kahlert](https://github.com/SrTobi)
+* [:link:](wampy/wampy.d.ts) [wampy.js](https://github.com/KSDaemon/wampy.js) by [Konstantin Burkalev](https://github.com/KSDaemon)
* [:link:](watch/watch.d.ts) [watch](https://github.com/mikeal/watch) by [Carlos Ballesteros Velasco](https://github.com/soywiz)
* [:link:](jquery.watermark/jquery.watermark.d.ts) [Watermark plugin for jQuery](http://jquery-watermark.googlecode.com) by [Anwar Javed](https://github.com/anwarjaved)
* [:link:](webaudioapi/waa.d.ts) [Web Audio API](http://www.w3.org/TR/webaudio) by [Baruch Berger](https://github.com/bbss), [Kon](http://phyzkit.net), [kubosho](https://github.com/kubosho)
@@ -1775,6 +1839,7 @@ This document generated by [dt-contributors-generator](https://github.com/vvakam
* [:link:](when/when.d.ts) [When](https://github.com/cujojs/when) by [Derek Cicerone](https://github.com/derekcicerone), [Wim Looman](https://github.com/Nemo157)
* [:link:](which/which.d.ts) [which](https://github.com/isaacs/node-which) by [vvakame](https://github.com/vvakame)
* [:link:](jquery.window/jquery.window.d.ts) [Window plugin for jQuery](http://fstoke.me/jquery/window) by [Ryan Graham](https://github.com/ryan-codingintrigue)
+* [:link:](windows-1251/windows-1251.d.ts) [windows-1251](https://github.com/mathiasbynens/windows-1251) by [RomanGolovanov](https://github.com/RomanGolovanov)
* [:link:](windows-service/windows-service.d.ts) [windows-service](https://bitbucket.org/stephenwvickers/node-windows-service) by [Rogier Schouten](https://github.com/rogierschouten)
* [:link:](winjs/winjs.d.ts) [WinJS](http://try.buildwinjs.com) by [TypeScript samples](https://www.typescriptlang.org), [Adam Hewitt](https://github.com/adamhewitt627), [Craig Treasure](https://github.com/craigktreasure), [Jeff Fisher](https://github.com/xirzec)
* [:link:](winreg/winreg.d.ts) [Winreg](https://github.com/fresc81/node-winreg) by [RX14](https://github.com/RX14)
diff --git a/DataStream.js/DataStream.js-tests.ts b/DataStream.js/DataStream.js-tests.ts
index 71bb08537e..733809254b 100644
--- a/DataStream.js/DataStream.js-tests.ts
+++ b/DataStream.js/DataStream.js-tests.ts
@@ -1,4 +1,4 @@
-///
+
var buf = new ArrayBuffer(100);
var ds = new DataStream(buf);
diff --git a/DataStream.js/DataStream.js.d.ts b/DataStream.js/index.d.ts
similarity index 100%
rename from DataStream.js/DataStream.js.d.ts
rename to DataStream.js/index.d.ts
diff --git a/DataStream.js/tsconfig.json b/DataStream.js/tsconfig.json
new file mode 100644
index 0000000000..33d822391f
--- /dev/null
+++ b/DataStream.js/tsconfig.json
@@ -0,0 +1,17 @@
+{
+ "compilerOptions": {
+ "module": "commonjs",
+ "target": "es6",
+ "noImplicitAny": true,
+ "strictNullChecks": false,
+ "baseUrl": "../",
+ "typesSearchPaths": [
+ "../"
+ ],
+ "noEmit": true
+ },
+ "files": [
+ "index.d.ts",
+ "DataStream.js-tests.ts"
+ ]
+}
\ No newline at end of file
diff --git a/FileSaver/FileSaver-tests.ts b/FileSaver/FileSaver-tests.ts
index 4cfae373e3..7495a85d8b 100644
--- a/FileSaver/FileSaver-tests.ts
+++ b/FileSaver/FileSaver-tests.ts
@@ -1,4 +1,4 @@
-///
+
/**
* @summary Test for "saveAs" function.
diff --git a/FileSaver/FileSaver.d.ts b/FileSaver/index.d.ts
similarity index 100%
rename from FileSaver/FileSaver.d.ts
rename to FileSaver/index.d.ts
diff --git a/FileSaver/tsconfig.json b/FileSaver/tsconfig.json
new file mode 100644
index 0000000000..c96374453b
--- /dev/null
+++ b/FileSaver/tsconfig.json
@@ -0,0 +1,17 @@
+{
+ "compilerOptions": {
+ "module": "commonjs",
+ "target": "es6",
+ "noImplicitAny": true,
+ "strictNullChecks": false,
+ "baseUrl": "../",
+ "typesSearchPaths": [
+ "../"
+ ],
+ "noEmit": true
+ },
+ "files": [
+ "index.d.ts",
+ "FileSaver-tests.ts"
+ ]
+}
\ No newline at end of file
diff --git a/Finch/Finch-tests.ts b/Finch/Finch-tests.ts
index ec15bcb88e..5200d3be10 100644
--- a/Finch/Finch-tests.ts
+++ b/Finch/Finch-tests.ts
@@ -1,4 +1,4 @@
-///
+
function test_Finch() {
diff --git a/Finch/Finch.d.ts b/Finch/index.d.ts
similarity index 100%
rename from Finch/Finch.d.ts
rename to Finch/index.d.ts
diff --git a/Finch/tsconfig.json b/Finch/tsconfig.json
new file mode 100644
index 0000000000..0d67632f25
--- /dev/null
+++ b/Finch/tsconfig.json
@@ -0,0 +1,17 @@
+{
+ "compilerOptions": {
+ "module": "commonjs",
+ "target": "es6",
+ "noImplicitAny": true,
+ "strictNullChecks": false,
+ "baseUrl": "../",
+ "typesSearchPaths": [
+ "../"
+ ],
+ "noEmit": true
+ },
+ "files": [
+ "index.d.ts",
+ "Finch-tests.ts"
+ ]
+}
\ No newline at end of file
diff --git a/Headroom/headroom-tests.ts b/Headroom/headroom-tests.ts
index e0e83449eb..292406b8ef 100644
--- a/Headroom/headroom-tests.ts
+++ b/Headroom/headroom-tests.ts
@@ -1,4 +1,4 @@
-///
+
new Headroom(document.getElementById('siteHead'));
diff --git a/Headroom/headroom.d.ts b/Headroom/index.d.ts
similarity index 100%
rename from Headroom/headroom.d.ts
rename to Headroom/index.d.ts
diff --git a/Headroom/tsconfig.json b/Headroom/tsconfig.json
new file mode 100644
index 0000000000..7513e87fe9
--- /dev/null
+++ b/Headroom/tsconfig.json
@@ -0,0 +1,17 @@
+{
+ "compilerOptions": {
+ "module": "commonjs",
+ "target": "es6",
+ "noImplicitAny": true,
+ "strictNullChecks": false,
+ "baseUrl": "../",
+ "typesSearchPaths": [
+ "../"
+ ],
+ "noEmit": true
+ },
+ "files": [
+ "index.d.ts",
+ "Headroom-tests.ts"
+ ]
+}
\ No newline at end of file
diff --git a/HubSpot-pace/HubSpot-pace-tests.ts b/HubSpot-pace/HubSpot-pace-tests.ts
index 1c1daa2a68..034a1e4cc9 100644
--- a/HubSpot-pace/HubSpot-pace-tests.ts
+++ b/HubSpot-pace/HubSpot-pace-tests.ts
@@ -1,4 +1,4 @@
-///
+
pace.start({
document: false
diff --git a/HubSpot-pace/HubSpot-pace.d.ts b/HubSpot-pace/index.d.ts
similarity index 100%
rename from HubSpot-pace/HubSpot-pace.d.ts
rename to HubSpot-pace/index.d.ts
diff --git a/HubSpot-pace/tsconfig.json b/HubSpot-pace/tsconfig.json
new file mode 100644
index 0000000000..2df41bdaf7
--- /dev/null
+++ b/HubSpot-pace/tsconfig.json
@@ -0,0 +1,17 @@
+{
+ "compilerOptions": {
+ "module": "commonjs",
+ "target": "es6",
+ "noImplicitAny": true,
+ "strictNullChecks": false,
+ "baseUrl": "../",
+ "typesSearchPaths": [
+ "../"
+ ],
+ "noEmit": true
+ },
+ "files": [
+ "index.d.ts",
+ "HubSpot-pace-tests.ts"
+ ]
+}
\ No newline at end of file
diff --git a/JSONStream/JSONStream-tests.ts b/JSONStream/JSONStream-tests.ts
index ea7eb64ff9..00884c8857 100644
--- a/JSONStream/JSONStream-tests.ts
+++ b/JSONStream/JSONStream-tests.ts
@@ -1,4 +1,3 @@
-///
import json = require('JSONStream');
diff --git a/JSONStream/JSONStream.d.ts b/JSONStream/JSONStream.d.ts
deleted file mode 100644
index 029e5b8e9c..0000000000
--- a/JSONStream/JSONStream.d.ts
+++ /dev/null
@@ -1,22 +0,0 @@
-// Type definitions for JSONStream v0.8.0
-// Project: http://github.com/dominictarr/JSONStream
-// Definitions by: Bart van der Schoor
-// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
-
-///
-
-declare module 'JSONStream' {
-
- export interface Options {
- recurse: boolean;
- }
-
- export function parse(pattern: any): NodeJS.ReadWriteStream;
- export function parse(patterns: any[]): NodeJS.ReadWriteStream;
-
- export function stringify(): NodeJS.ReadWriteStream;
- export function stringify(open: string, sep: string, close: string): NodeJS.ReadWriteStream;
-
- export function stringifyObject(): NodeJS.ReadWriteStream;
- export function stringifyObject(open: string, sep: string, close: string): NodeJS.ReadWriteStream;
-}
diff --git a/JSONStream/index.d.ts b/JSONStream/index.d.ts
new file mode 100644
index 0000000000..f405e284ba
--- /dev/null
+++ b/JSONStream/index.d.ts
@@ -0,0 +1,21 @@
+// Type definitions for JSONStream v0.8.0
+// Project: http://github.com/dominictarr/JSONStream
+// Definitions by: Bart van der Schoor
+// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
+
+///
+
+
+
+export interface Options {
+ recurse: boolean;
+}
+
+export declare function parse(pattern: any): NodeJS.ReadWriteStream;
+export declare function parse(patterns: any[]): NodeJS.ReadWriteStream;
+
+export declare function stringify(): NodeJS.ReadWriteStream;
+export declare function stringify(open: string, sep: string, close: string): NodeJS.ReadWriteStream;
+
+export declare function stringifyObject(): NodeJS.ReadWriteStream;
+export declare function stringifyObject(open: string, sep: string, close: string): NodeJS.ReadWriteStream;
diff --git a/JSONStream/tsconfig.json b/JSONStream/tsconfig.json
new file mode 100644
index 0000000000..3509029bd0
--- /dev/null
+++ b/JSONStream/tsconfig.json
@@ -0,0 +1,17 @@
+{
+ "compilerOptions": {
+ "module": "commonjs",
+ "target": "es6",
+ "noImplicitAny": true,
+ "strictNullChecks": false,
+ "baseUrl": "../",
+ "typesSearchPaths": [
+ "../"
+ ],
+ "noEmit": true
+ },
+ "files": [
+ "index.d.ts",
+ "JSONStream-tests.ts"
+ ]
+}
\ No newline at end of file
diff --git a/OpenJsCad/index.d.ts b/OpenJsCad/index.d.ts
new file mode 100644
index 0000000000..c6cae5d5cc
--- /dev/null
+++ b/OpenJsCad/index.d.ts
@@ -0,0 +1,917 @@
+// Type definitions for OpenJsCad.js
+// Project: https://github.com/joostn/OpenJsCad
+// Definitions by: Dan Marshall
+// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
+
+///
+
+declare namespace THREE {
+ var CSG: {
+ fromCSG: (csg: CSG, defaultColor: any) => {
+ colorMesh: Mesh;
+ wireframe: Mesh;
+ boundLen: number;
+ };
+ getGeometryVertex: (geometry: any, vertex_position: any) => number;
+ };
+ /*
+ function OrbitControls(object: any, domElement: any): void;
+ function SpriteCanvasMaterial(parameters?: any): void;
+ */
+ interface ICanvasRendererOptions {
+ canvas?: HTMLCanvasElement;
+ alpha?: boolean;
+ }
+ /*
+ class CanvasRenderer implements Renderer {
+ domElement: HTMLCanvasElement;
+ private pixelRatio;
+ private autoClear;
+ private sortObjects;
+ private sortElements;
+ private info;
+ private _projector;
+ private _renderData;
+ private _elements;
+ private _lights;
+ private _canvas;
+ private _canvasWidth;
+ private _canvasHeight;
+ private _canvasWidthHalf;
+ private _canvasHeightHalf;
+ private _viewportX;
+ private _viewportY;
+ private _viewportWidth;
+ private _viewportHeight;
+ private _context;
+ private _clearColor;
+ private _clearAlpha;
+ private _contextGlobalAlpha;
+ private _contextGlobalCompositeOperation;
+ private _contextStrokeStyle;
+ private _camera;
+ private _contextFillStyle;
+ private _contextLineWidth;
+ private _contextLineCap;
+ private _contextLineJoin;
+ private _contextLineDash;
+ private _v1;
+ private _v2;
+ private _v3;
+ private _v4;
+ private _v5;
+ private _v6;
+ private _v1x;
+ private _v1y;
+ private _v2x;
+ private _v2y;
+ private _v3x;
+ private _v3y;
+ private _v4x;
+ private _v4y;
+ private _v5x;
+ private _v5y;
+ private _v6x;
+ private _v6y;
+ private _color;
+ private _color1;
+ private _color2;
+ private _color3;
+ private _color4;
+ private _diffuseColor;
+ private _emissiveColor;
+ private _lightColor;
+ private _patterns;
+ private _image;
+ private _uvs;
+ private _uv1x;
+ private _uv1y;
+ private _uv2x;
+ private _uv2y;
+ private _uv3x;
+ private _uv3y;
+ private _clipBox;
+ private _clearBox;
+ private _elemBox;
+ private _ambientLight;
+ private _directionalLights;
+ private _pointLights;
+ private _vector3;
+ private _centroid;
+ private _normal;
+ private _normalViewMatrix;
+ constructor(parameters: ICanvasRendererOptions);
+ supportsVertexTextures(): void;
+ setFaceCulling: () => void;
+ getPixelRatio(): number;
+ setPixelRatio(value: any): void;
+ setSize(width: any, height: any, updateStyle: any): void;
+ setViewport(x: any, y: any, width: any, height: any): void;
+ setScissor(): void;
+ enableScissorTest(): void;
+ setClearColor(color: any, alpha: any): void;
+ setClearColorHex(hex: any, alpha: any): void;
+ getClearColor(): Color;
+ getClearAlpha(): number;
+ getMaxAnisotropy(): number;
+ clear(): void;
+ clearColor(): void;
+ clearDepth(): void;
+ clearStencil(): void;
+ render(scene: Scene, camera: Camera, renderTarget?: RenderTarget, forceClear?: boolean): void;
+ calculateLights(): void;
+ calculateLight(position: any, normal: any, color: any): void;
+ renderSprite(v1: any, element: any, material: any): void;
+ renderLine(v1: any, v2: any, element: any, material: any): void;
+ renderFace3(v1: any, v2: any, v3: any, uv1: any, uv2: any, uv3: any, element: any, material: any): void;
+ drawTriangle(x0: any, y0: any, x1: any, y1: any, x2: any, y2: any): void;
+ strokePath(color: any, linewidth: any, linecap: any, linejoin: any): void;
+ fillPath(color: any): void;
+ onTextureUpdate(event: any): void;
+ textureToPattern(texture: any): void;
+ patternPath(x0: any, y0: any, x1: any, y1: any, x2: any, y2: any, u0: any, v0: any, u1: any, v1: any, u2: any, v2: any, texture: any): void;
+ clipImage(x0: any, y0: any, x1: any, y1: any, x2: any, y2: any, u0: any, v0: any, u1: any, v1: any, u2: any, v2: any, image: any): void;
+ expand(v1: any, v2: any, pixels: any): void;
+ setOpacity(value: any): void;
+ setBlending(value: any): void;
+ setLineWidth(value: any): void;
+ setLineCap(value: any): void;
+ setLineJoin(value: any): void;
+ setStrokeStyle(value: any): void;
+ setFillStyle(value: any): void;
+ setLineDash(value: any): void;
+ }
+ function RenderableObject(): void;
+ function RenderableFace(): void;
+ function RenderableVertex(): void;
+ function RenderableLine(): void;
+ function RenderableSprite(): void;
+ function Projector(): void;
+ */
+}
+declare namespace OpenJsCad {
+ interface ILog {
+ (x: string): void;
+ prevLogTime?: number;
+ }
+ var log: ILog;
+ interface IViewerOptions {
+ drawLines?: boolean;
+ drawFaces?: boolean;
+ color?: number[];
+ bgColor?: number;
+ noWebGL?: boolean;
+ }
+ interface ProcessorOptions extends IViewerOptions {
+ verbose?: boolean;
+ viewerwidth?: number;
+ viewerheight?: number;
+ viewerheightratio?: number;
+ }
+ class Viewer {
+ private perspective;
+ private drawOptions;
+ private size;
+ private defaultColor_;
+ private bgColor_;
+ private containerElm_;
+ private scene_;
+ private camera_;
+ private controls_;
+ private renderer_;
+ private canvas;
+ private pauseRender_;
+ private requestID_;
+ constructor(containerElm: any, size: any, options: IViewerOptions);
+ createScene(drawAxes: any, axLen: any): void;
+ createCamera(): void;
+ createControls(canvas: any): void;
+ webGLAvailable(): boolean;
+ createRenderer(bool_noWebGL: any): void;
+ render(): void;
+ animate(): void;
+ cancelAnimate(): void;
+ refreshRenderer(bool_noWebGL: any): void;
+ drawAxes(axLen: any): void;
+ setCsg(csg: any, resetZoom: any): void;
+ applyDrawOptions(): void;
+ clear(): void;
+ getUserMeshes(str?: any): THREE.Object3D[];
+ resetZoom(r: any): void;
+ parseSizeParams(): void;
+ handleResize(): void;
+ }
+ function makeAbsoluteUrl(url: any, baseurl: any): any;
+ function isChrome(): boolean;
+ function runMainInWorker(mainParameters: any): void;
+ function expandResultObjectArray(result: any): any;
+ function checkResult(result: any): void;
+ function resultToCompactBinary(resultin: any): any;
+ function resultFromCompactBinary(resultin: any): any;
+ function parseJsCadScriptSync(script: any, mainParameters: any, debugging: any): any;
+ function parseJsCadScriptASync(script: any, mainParameters: any, options: any, callback: any): Worker;
+ function getWindowURL(): URL;
+ function textToBlobUrl(txt: any): string;
+ function revokeBlobUrl(url: any): void;
+ function FileSystemApiErrorHandler(fileError: any, operation: any): void;
+ function AlertUserOfUncaughtExceptions(): void;
+ function getParamDefinitions(script: any): any[];
+ interface EventHandler {
+ (ev?: Event): any;
+ }
+ /**
+ * options parameter:
+ * - drawLines: display wireframe lines
+ * - drawFaces: display surfaces
+ * - bgColor: canvas background color
+ * - color: object color
+ * - viewerwidth, viewerheight: set rendering size. Works with any css unit.
+ * viewerheight can also be specified as a ratio to width, ie number e (0, 1]
+ * - noWebGL: force render without webGL
+ * - verbose: show additional info (currently only time used for rendering)
+ */
+ interface ViewerSize {
+ widthDefault: string;
+ heightDefault: string;
+ width: number;
+ height: number;
+ heightratio: number;
+ }
+ class Processor {
+ private containerdiv;
+ private options;
+ private onchange;
+ private static widthDefault;
+ private static heightDefault;
+ private viewerdiv;
+ private viewer;
+ private viewerSize;
+ private processing;
+ private currentObject;
+ private hasValidCurrentObject;
+ private hasOutputFile;
+ private worker;
+ private paramDefinitions;
+ private paramControls;
+ private script;
+ private hasError;
+ private debugging;
+ private errordiv;
+ private errorpre;
+ private statusdiv;
+ private controldiv;
+ private statusspan;
+ private statusbuttons;
+ private abortbutton;
+ private renderedElementDropdown;
+ private formatDropdown;
+ private generateOutputFileButton;
+ private downloadOutputFileLink;
+ private parametersdiv;
+ private parameterstable;
+ private currentFormat;
+ private filename;
+ private currentObjects;
+ private currentObjectIndex;
+ private isFirstRender_;
+ private outputFileDirEntry;
+ private outputFileBlobUrl;
+ constructor(containerdiv: HTMLDivElement, options?: ProcessorOptions, onchange?: EventHandler);
+ static convertToSolid(obj: any): any;
+ cleanOption(option: any, deflt: any): any;
+ toggleDrawOption(str: any): boolean;
+ setDrawOption(str: any, bool: any): void;
+ handleResize(): void;
+ createElements(): void;
+ getFilenameForRenderedObject(): string;
+ setRenderedObjects(obj: any): void;
+ setSelectedObjectIndex(index: number): void;
+ selectedFormat(): any;
+ selectedFormatInfo(): any;
+ updateDownloadLink(): void;
+ clearViewer(): void;
+ abort(): void;
+ enableItems(): void;
+ setOpenJsCadPath(path: string): void;
+ addLibrary(lib: any): void;
+ setError(txt: string): void;
+ setDebugging(debugging: boolean): void;
+ setJsCad(script: string, filename?: string): void;
+ getParamValues(): {};
+ rebuildSolid(): void;
+ hasSolid(): boolean;
+ isProcessing(): boolean;
+ clearOutputFile(): void;
+ generateOutputFile(): void;
+ currentObjectToBlob(): any;
+ supportedFormatsForCurrentObject(): string[];
+ formatInfo(format: any): any;
+ downloadLinkTextForCurrentObject(): string;
+ generateOutputFileBlobUrl(): void;
+ generateOutputFileFileSystem(): void;
+ createParamControls(): void;
+ }
+}
+interface Window {
+ Worker: Worker;
+// URL: URL;
+ webkitURL: URL;
+ requestFileSystem: any;
+ webkitRequestFileSystem: any;
+}
+interface IAMFStringOptions {
+ unit: string;
+}
+declare class CxG {
+ toStlString(): string;
+ toStlBinary(): void;
+ toAMFString(AMFStringOptions?: IAMFStringOptions): void;
+ getBounds(): CxG[];
+ transform(matrix4x4: CSG.Matrix4x4): CxG;
+ mirrored(plane: CSG.Plane): CxG;
+ mirroredX(): CxG;
+ mirroredY(): CxG;
+ mirroredZ(): CxG;
+ translate(v: number[]): CxG;
+ translate(v: CSG.Vector3D): CxG;
+ scale(f: CSG.Vector3D): CxG;
+ rotateX(deg: number): CxG;
+ rotateY(deg: number): CxG;
+ rotateZ(deg: number): CxG;
+ rotate(rotationCenter: CSG.Vector3D, rotationAxis: CSG.Vector3D, degrees: number): CxG;
+ rotateEulerAngles(alpha: number, beta: number, gamma: number, position: number[]): CxG;
+}
+interface ICenter {
+ center(cAxes: string[]): CxG;
+}
+declare class CSG extends CxG implements ICenter {
+ polygons: CSG.Polygon[];
+ properties: CSG.Properties;
+ isCanonicalized: boolean;
+ isRetesselated: boolean;
+ cachedBoundingBox: CSG.Vector3D[];
+ static defaultResolution2D: number;
+ static defaultResolution3D: number;
+ static fromPolygons(polygons: CSG.Polygon[]): CSG;
+ static fromSlices(options: any): CSG;
+ static fromObject(obj: any): CSG;
+ static fromCompactBinary(bin: any): CSG;
+ toPolygons(): CSG.Polygon[];
+ union(csg: CSG[]): CSG;
+ union(csg: CSG): CSG;
+ unionSub(csg: CSG, retesselate?: boolean, canonicalize?: boolean): CSG;
+ unionForNonIntersecting(csg: CSG): CSG;
+ subtract(csg: CSG[]): CSG;
+ subtract(csg: CSG): CSG;
+ subtractSub(csg: CSG, retesselate: boolean, canonicalize: boolean): CSG;
+ intersect(csg: CSG[]): CSG;
+ intersect(csg: CSG): CSG;
+ intersectSub(csg: CSG, retesselate?: boolean, canonicalize?: boolean): CSG;
+ invert(): CSG;
+ transform1(matrix4x4: CSG.Matrix4x4): CSG;
+ transform(matrix4x4: CSG.Matrix4x4): CSG;
+ toString(): string;
+ expand(radius: number, resolution: number): CSG;
+ contract(radius: number, resolution: number): CSG;
+ stretchAtPlane(normal: number[], point: number[], length: number): CSG;
+ expandedShell(radius: number, resolution: number, unionWithThis: boolean): CSG;
+ canonicalized(): CSG;
+ reTesselated(): CSG;
+ getBounds(): CSG.Vector3D[];
+ mayOverlap(csg: CSG): boolean;
+ cutByPlane(plane: CSG.Plane): CSG;
+ connectTo(myConnector: CSG.Connector, otherConnector: CSG.Connector, mirror: boolean, normalrotation: number): CSG;
+ setShared(shared: CSG.Polygon.Shared): CSG;
+ setColor(args: any): CSG;
+ toCompactBinary(): {
+ "class": string;
+ numPolygons: number;
+ numVerticesPerPolygon: Uint32Array;
+ polygonPlaneIndexes: Uint32Array;
+ polygonSharedIndexes: Uint32Array;
+ polygonVertices: Uint32Array;
+ vertexData: Float64Array;
+ planeData: Float64Array;
+ shared: CSG.Polygon.Shared[];
+ };
+ toPointCloud(cuberadius: any): CSG;
+ getTransformationAndInverseTransformationToFlatLying(): any;
+ getTransformationToFlatLying(): any;
+ lieFlat(): CSG;
+ projectToOrthoNormalBasis(orthobasis: CSG.OrthoNormalBasis): CAG;
+ sectionCut(orthobasis: CSG.OrthoNormalBasis): CAG;
+ fixTJunctions(): CSG;
+ toTriangles(): any[];
+ getFeatures(features: any): any;
+ center(cAxes: string[]): CxG;
+ toX3D(): Blob;
+ toStlBinary(): Blob;
+ toStlString(): string;
+ toAMFString(m: IAMFStringOptions): Blob;
+}
+declare namespace CSG {
+ function fnNumberSort(a: any, b: any): number;
+ function parseOption(options: any, optionname: any, defaultvalue: any): any;
+ function parseOptionAs3DVector(options: any, optionname: any, defaultvalue: any): Vector3D;
+ function parseOptionAs3DVectorList(options: any, optionname: any, defaultvalue: any): any;
+ function parseOptionAs2DVector(options: any, optionname: any, defaultvalue: any): any;
+ function parseOptionAsFloat(options: any, optionname: any, defaultvalue: any): any;
+ function parseOptionAsInt(options: any, optionname: any, defaultvalue: any): any;
+ function parseOptionAsBool(options: any, optionname: any, defaultvalue: any): any;
+ function cube(options: any): CSG;
+ function sphere(options: any): CSG;
+ function cylinder(options: any): CSG;
+ function roundedCylinder(options: any): CSG;
+ function roundedCube(options: any): CSG;
+ /**
+ * polyhedron accepts openscad style arguments. I.e. define face vertices clockwise looking from outside
+ */
+ function polyhedron(options: any): CSG;
+ function IsFloat(n: any): boolean;
+ function solve2Linear(a: any, b: any, c: any, d: any, u: any, v: any): number[];
+ class Vector3D extends CxG {
+ x: number;
+ y: number;
+ z: number;
+ constructor(v3: Vector3D);
+ constructor(v2: Vector2D);
+ constructor(v2: number[]);
+ constructor(x: number, y: number);
+ constructor(x: number, y: number, z: number);
+ static Create(x: number, y: number, z: number): Vector3D;
+ clone(): Vector3D;
+ negated(): Vector3D;
+ abs(): Vector3D;
+ plus(a: Vector3D): Vector3D;
+ minus(a: Vector3D): Vector3D;
+ times(a: number): Vector3D;
+ dividedBy(a: number): Vector3D;
+ dot(a: Vector3D): number;
+ lerp(a: Vector3D, t: number): Vector3D;
+ lengthSquared(): number;
+ length(): number;
+ unit(): Vector3D;
+ cross(a: Vector3D): Vector3D;
+ distanceTo(a: Vector3D): number;
+ distanceToSquared(a: Vector3D): number;
+ equals(a: Vector3D): boolean;
+ multiply4x4(matrix4x4: Matrix4x4): Vector3D;
+ transform(matrix4x4: Matrix4x4): Vector3D;
+ toString(): string;
+ randomNonParallelVector(): Vector3D;
+ min(p: Vector3D): Vector3D;
+ max(p: Vector3D): Vector3D;
+ toStlString(): string;
+ toAMFString(): string;
+ }
+ class Vertex extends CxG {
+ pos: Vector3D;
+ tag: number;
+ constructor(pos: Vector3D);
+ static fromObject(obj: any): Vertex;
+ flipped(): Vertex;
+ getTag(): number;
+ interpolate(other: Vertex, t: number): Vertex;
+ transform(matrix4x4: Matrix4x4): Vertex;
+ toString(): string;
+ toStlString(): string;
+ toAMFString(): string;
+ }
+ class Plane extends CxG {
+ normal: Vector3D;
+ w: number;
+ tag: number;
+ constructor(normal: Vector3D, w: number);
+ static fromObject(obj: any): Plane;
+ static EPSILON: number;
+ static fromVector3Ds(a: Vector3D, b: Vector3D, c: Vector3D): Plane;
+ static anyPlaneFromVector3Ds(a: Vector3D, b: Vector3D, c: Vector3D): Plane;
+ static fromPoints(a: Vector3D, b: Vector3D, c: Vector3D): Plane;
+ static fromNormalAndPoint(normal: Vector3D, point: Vector3D): Plane;
+ static fromNormalAndPoint(normal: number[], point: number[]): Plane;
+ flipped(): Plane;
+ getTag(): number;
+ equals(n: Plane): boolean;
+ transform(matrix4x4: Matrix4x4): Plane;
+ splitPolygon(polygon: Polygon): {
+ type: any;
+ front: any;
+ back: any;
+ };
+ splitLineBetweenPoints(p1: Vector3D, p2: Vector3D): Vector3D;
+ intersectWithLine(line3d: Line3D): Vector3D;
+ intersectWithPlane(plane: Plane): Line3D;
+ signedDistanceToPoint(point: Vector3D): number;
+ toString(): string;
+ mirrorPoint(point3d: Vector3D): Vector3D;
+ }
+ class Polygon extends CxG {
+ vertices: Vertex[];
+ shared: Polygon.Shared;
+ plane: Plane;
+ cachedBoundingSphere: any;
+ cachedBoundingBox: Vector3D[];
+ static defaultShared: CSG.Polygon.Shared;
+ constructor(vertices: Vector3D, shared?: Polygon.Shared, plane?: Plane);
+ constructor(vertices: Vertex[], shared?: Polygon.Shared, plane?: Plane);
+ static fromObject(obj: any): Polygon;
+ checkIfConvex(): void;
+ setColor(args: any): Polygon;
+ getSignedVolume(): number;
+ getArea(): number;
+ getTetraFeatures(features: any): any[];
+ extrude(offsetvector: any): CSG;
+ boundingSphere(): any;
+ boundingBox(): Vector3D[];
+ flipped(): Polygon;
+ transform(matrix4x4: Matrix4x4): Polygon;
+ toString(): string;
+ projectToOrthoNormalBasis(orthobasis: OrthoNormalBasis): CAG;
+ /**
+ * Creates solid from slices (CSG.Polygon) by generating walls
+ * @param {Object} options Solid generating options
+ * - numslices {Number} Number of slices to be generated
+ * - callback(t, slice) {Function} Callback function generating slices.
+ * arguments: t = [0..1], slice = [0..numslices - 1]
+ * return: CSG.Polygon or null to skip
+ * - loop {Boolean} no flats, only walls, it's used to generate solids like a tor
+ */
+ solidFromSlices(options: any): CSG;
+ /**
+ *
+ * @param walls Array of wall polygons
+ * @param bottom Bottom polygon
+ * @param top Top polygon
+ */
+ private _addWalls(walls, bottom, top, bFlipped);
+ static verticesConvex(vertices: Vertex[], planenormal: any): boolean;
+ static createFromPoints(points: number[][], shared?: CSG.Polygon.Shared, plane?: Plane): Polygon;
+ static isConvexPoint(prevpoint: any, point: any, nextpoint: any, normal: any): boolean;
+ static isStrictlyConvexPoint(prevpoint: any, point: any, nextpoint: any, normal: any): boolean;
+ toStlString(): string;
+ }
+}
+declare namespace CSG.Polygon {
+ class Shared {
+ color: any;
+ tag: any;
+ constructor(color: any);
+ static fromObject(obj: any): Shared;
+ static fromColor(args: any): Shared;
+ getTag(): any;
+ getHash(): any;
+ }
+}
+declare namespace CSG {
+ class PolygonTreeNode {
+ parent: any;
+ children: any;
+ polygon: Polygon;
+ removed: boolean;
+ constructor();
+ addPolygons(polygons: any): void;
+ remove(): void;
+ isRemoved(): boolean;
+ isRootNode(): boolean;
+ invert(): void;
+ getPolygon(): Polygon;
+ getPolygons(result: Polygon[]): void;
+ splitByPlane(plane: any, coplanarfrontnodes: any, coplanarbacknodes: any, frontnodes: any, backnodes: any): void;
+ _splitByPlane(plane: any, coplanarfrontnodes: any, coplanarbacknodes: any, frontnodes: any, backnodes: any): void;
+ addChild(polygon: Polygon): PolygonTreeNode;
+ invertSub(): void;
+ recursivelyInvalidatePolygon(): void;
+ }
+ class Tree {
+ polygonTree: PolygonTreeNode;
+ rootnode: Node;
+ constructor(polygons: Polygon[]);
+ invert(): void;
+ clipTo(tree: Tree, alsoRemovecoplanarFront?: boolean): void;
+ allPolygons(): Polygon[];
+ addPolygons(polygons: Polygon[]): void;
+ }
+ class Node {
+ parent: Node;
+ plane: Plane;
+ front: any;
+ back: any;
+ polygontreenodes: PolygonTreeNode[];
+ constructor(parent: Node);
+ invert(): void;
+ clipPolygons(polygontreenodes: PolygonTreeNode[], alsoRemovecoplanarFront: boolean): void;
+ clipTo(tree: Tree, alsoRemovecoplanarFront: boolean): void;
+ addPolygonTreeNodes(polygontreenodes: PolygonTreeNode[]): void;
+ getParentPlaneNormals(normals: Vector3D[], maxdepth: number): void;
+ }
+ class Matrix4x4 {
+ elements: number[];
+ constructor(elements?: number[]);
+ plus(m: Matrix4x4): Matrix4x4;
+ minus(m: Matrix4x4): Matrix4x4;
+ multiply(m: Matrix4x4): Matrix4x4;
+ clone(): Matrix4x4;
+ rightMultiply1x3Vector(v: Vector3D): Vector3D;
+ leftMultiply1x3Vector(v: Vector3D): Vector3D;
+ rightMultiply1x2Vector(v: Vector2D): Vector2D;
+ leftMultiply1x2Vector(v: Vector2D): Vector2D;
+ isMirroring(): boolean;
+ static unity(): Matrix4x4;
+ static rotationX(degrees: number): Matrix4x4;
+ static rotationY(degrees: number): Matrix4x4;
+ static rotationZ(degrees: number): Matrix4x4;
+ static rotation(rotationCenter: CSG.Vector3D, rotationAxis: CSG.Vector3D, degrees: number): Matrix4x4;
+ static translation(v: number[]): Matrix4x4;
+ static translation(v: Vector3D): Matrix4x4;
+ static mirroring(plane: Plane): Matrix4x4;
+ static scaling(v: number[]): Matrix4x4;
+ static scaling(v: Vector3D): Matrix4x4;
+ }
+ class Vector2D extends CxG {
+ x: number;
+ y: number;
+ constructor(x: number, y: number);
+ constructor(x: number[]);
+ constructor(x: Vector2D);
+ static fromAngle(radians: number): Vector2D;
+ static fromAngleDegrees(degrees: number): Vector2D;
+ static fromAngleRadians(radians: number): Vector2D;
+ static Create(x: number, y: number): Vector2D;
+ toVector3D(z: number): Vector3D;
+ equals(a: Vector2D): boolean;
+ clone(): Vector2D;
+ negated(): Vector2D;
+ plus(a: Vector2D): Vector2D;
+ minus(a: Vector2D): Vector2D;
+ times(a: number): Vector2D;
+ dividedBy(a: number): Vector2D;
+ dot(a: Vector2D): number;
+ lerp(a: Vector2D, t: number): Vector2D;
+ length(): number;
+ distanceTo(a: Vector2D): number;
+ distanceToSquared(a: Vector2D): number;
+ lengthSquared(): number;
+ unit(): Vector2D;
+ cross(a: Vector2D): number;
+ normal(): Vector2D;
+ multiply4x4(matrix4x4: Matrix4x4): Vector2D;
+ transform(matrix4x4: Matrix4x4): Vector2D;
+ angle(): number;
+ angleDegrees(): number;
+ angleRadians(): number;
+ min(p: Vector2D): Vector2D;
+ max(p: Vector2D): Vector2D;
+ toString(): string;
+ abs(): Vector2D;
+ }
+ class Line2D extends CxG {
+ normal: Vector2D;
+ w: number;
+ constructor(normal: Vector2D, w: number);
+ static fromPoints(p1: Vector2D, p2: Vector2D): Line2D;
+ reverse(): Line2D;
+ equals(l: Line2D): boolean;
+ origin(): Vector2D;
+ direction(): Vector2D;
+ xAtY(y: number): number;
+ absDistanceToPoint(point: Vector2D): number;
+ intersectWithLine(line2d: Line2D): Vector2D;
+ transform(matrix4x4: Matrix4x4): Line2D;
+ }
+ class Line3D extends CxG {
+ point: Vector3D;
+ direction: Vector3D;
+ constructor(point: Vector3D, direction: Vector3D);
+ static fromPoints(p1: Vector3D, p2: Vector3D): Line3D;
+ static fromPlanes(p1: Plane, p2: Plane): Line3D;
+ intersectWithPlane(plane: Plane): Vector3D;
+ clone(): Line3D;
+ reverse(): Line3D;
+ transform(matrix4x4: Matrix4x4): Line3D;
+ closestPointOnLine(point: Vector3D): Vector3D;
+ distanceToPoint(point: Vector3D): number;
+ equals(line3d: Line3D): boolean;
+ }
+ class OrthoNormalBasis extends CxG {
+ v: Vector3D;
+ u: Vector3D;
+ plane: Plane;
+ planeorigin: Vector3D;
+ constructor(plane: Plane, rightvector?: Vector3D);
+ static GetCartesian(xaxisid: string, yaxisid: string): OrthoNormalBasis;
+ static Z0Plane(): OrthoNormalBasis;
+ getProjectionMatrix(): Matrix4x4;
+ getInverseProjectionMatrix(): Matrix4x4;
+ to2D(vec3: Vector3D): Vector2D;
+ to3D(vec2: Vector2D): Vector3D;
+ line3Dto2D(line3d: Line3D): Line2D;
+ line2Dto3D(line2d: Line2D): Line3D;
+ transform(matrix4x4: Matrix4x4): OrthoNormalBasis;
+ }
+ function interpolateBetween2DPointsForY(point1: Vector2D, point2: Vector2D, y: number): number;
+ function reTesselateCoplanarPolygons(sourcepolygons: CSG.Polygon[], destpolygons: CSG.Polygon[]): void;
+ class fuzzyFactory {
+ multiplier: number;
+ lookuptable: any;
+ constructor(numdimensions: number, tolerance: number);
+ lookupOrCreate(els: any, creatorCallback: any): any;
+ }
+ class fuzzyCSGFactory {
+ vertexfactory: fuzzyFactory;
+ planefactory: fuzzyFactory;
+ polygonsharedfactory: any;
+ constructor();
+ getPolygonShared(sourceshared: Polygon.Shared): Polygon.Shared;
+ getVertex(sourcevertex: Vertex): Vertex;
+ getPlane(sourceplane: Plane): Plane;
+ getPolygon(sourcepolygon: Polygon): Polygon;
+ getCSG(sourcecsg: CSG): CSG;
+ }
+ var staticTag: number;
+ function getTag(): number;
+ class Properties {
+ cube: Properties;
+ center: any;
+ facecenters: any[];
+ roundedCube: Properties;
+ cylinder: Properties;
+ start: any;
+ end: any;
+ facepointH: any;
+ facepointH90: any;
+ sphere: Properties;
+ facepoint: any;
+ roundedCylinder: any;
+ _transform(matrix4x4: Matrix4x4): Properties;
+ _merge(otherproperties: Properties): Properties;
+ static transformObj(source: any, result: any, matrix4x4: Matrix4x4): void;
+ static cloneObj(source: any, result: any): void;
+ static addFrom(result: any, otherproperties: Properties): void;
+ }
+ class Connector extends CxG {
+ point: Vector3D;
+ axisvector: Vector3D;
+ normalvector: Vector3D;
+ constructor(point: number[], axisvector: Vector3D, normalvector: number[]);
+ constructor(point: number[], axisvector: number[], normalvector: number[]);
+ constructor(point: number[], axisvector: number[], normalvector: Vector3D);
+ constructor(point: Vector3D, axisvector: number[], normalvector: Vector3D);
+ constructor(point: Vector3D, axisvector: number[], normalvector: number[]);
+ constructor(point: Vector3D, axisvector: Vector3D, normalvector: Vector3D);
+ normalized(): Connector;
+ transform(matrix4x4: Matrix4x4): Connector;
+ getTransformationTo(other: Connector, mirror: boolean, normalrotation: number): Matrix4x4;
+ axisLine(): Line3D;
+ extend(distance: number): Connector;
+ }
+ class ConnectorList {
+ connectors_: Connector[];
+ closed: boolean;
+ constructor(connectors: Connector[]);
+ static defaultNormal: number[];
+ static fromPath2D(path2D: CSG.Path2D, arg1: any, arg2: any): ConnectorList;
+ static _fromPath2DTangents(path2D: any, start: any, end: any): ConnectorList;
+ static _fromPath2DExplicit(path2D: any, angleIsh: any): ConnectorList;
+ setClosed(bool: boolean): void;
+ appendConnector(conn: Connector): void;
+ followWith(cagish: any): CSG;
+ verify(): void;
+ }
+ interface IRadiusOptions {
+ radius?: number;
+ resolution?: number;
+ }
+ interface ICircleOptions extends IRadiusOptions {
+ center?: Vector2D | number[];
+ }
+ interface IArcOptions extends ICircleOptions {
+ startangle?: number;
+ endangle?: number;
+ maketangent?: boolean;
+ }
+ interface IEllpiticalArcOptions extends IRadiusOptions {
+ clockwise?: boolean;
+ large?: boolean;
+ xaxisrotation?: number;
+ xradius?: number;
+ yradius?: number;
+ }
+ interface IRectangleOptions {
+ center?: Vector2D;
+ corner1?: Vector2D;
+ corner2?: Vector2D;
+ radius?: Vector2D;
+ }
+ interface IRoundRectangleOptions {
+ roundradius: number;
+ resolution?: number;
+ }
+ class Path2D extends CxG {
+ closed: boolean;
+ points: Vector2D[];
+ lastBezierControlPoint: Vector2D;
+ constructor(points: number[], closed?: boolean);
+ constructor(points: Vector2D[], closed?: boolean);
+ static arc(options: IArcOptions): Path2D;
+ concat(otherpath: Path2D): Path2D;
+ appendPoint(point: Vector2D): Path2D;
+ appendPoints(points: Vector2D[]): Path2D;
+ close(): Path2D;
+ rectangularExtrude(width: number, height: number, resolution: number): CSG;
+ expandToCAG(pathradius: number, resolution: number): CAG;
+ innerToCAG(): CAG;
+ transform(matrix4x4: Matrix4x4): Path2D;
+ appendBezier(controlpoints: any, options: any): Path2D;
+ appendArc(endpoint: Vector2D, options: IEllpiticalArcOptions): Path2D;
+ }
+}
+declare class CAG extends CxG implements ICenter {
+ sides: CAG.Side[];
+ isCanonicalized: boolean;
+ constructor();
+ static fromSides(sides: CAG.Side[]): CAG;
+ static fromPoints(points: CSG.Vector2D[]): CAG;
+ static fromPointsNoCheck(points: CSG.Vector2D[]): CAG;
+ static fromFakeCSG(csg: CSG): CAG;
+ static linesIntersect(p0start: CSG.Vector2D, p0end: CSG.Vector2D, p1start: CSG.Vector2D, p1end: CSG.Vector2D): boolean;
+ static circle(options: CSG.ICircleOptions): CAG;
+ static rectangle(options: CSG.IRectangleOptions): CAG;
+ static roundedRectangle(options: any): CAG;
+ static fromCompactBinary(bin: any): CAG;
+ toString(): string;
+ _toCSGWall(z0: any, z1: any): CSG;
+ _toVector3DPairs(m: CSG.Matrix4x4): CSG.Vector3D[][];
+ _toPlanePolygons(options: any): CSG.Polygon[];
+ _toWallPolygons(options: any): any[];
+ union(cag: CAG[]): CAG;
+ union(cag: CAG): CAG;
+ subtract(cag: CAG[]): CAG;
+ subtract(cag: CAG): CAG;
+ intersect(cag: CAG[]): CAG;
+ intersect(cag: CAG): CAG;
+ transform(matrix4x4: CSG.Matrix4x4): CAG;
+ area(): number;
+ flipped(): CAG;
+ getBounds(): CSG.Vector2D[];
+ isSelfIntersecting(): boolean;
+ expandedShell(radius: number, resolution: number): CAG;
+ expand(radius: number, resolution: number): CAG;
+ contract(radius: number, resolution: number): CAG;
+ extrudeInOrthonormalBasis(orthonormalbasis: CSG.OrthoNormalBasis, depth: number, options?: any): CSG;
+ extrudeInPlane(axis1: any, axis2: any, depth: any, options: any): CSG;
+ extrude(options: CAG_extrude_options): CSG;
+ rotateExtrude(options: any): CSG;
+ check(): void;
+ canonicalized(): CAG;
+ toCompactBinary(): {
+ 'class': string;
+ sideVertexIndices: Uint32Array;
+ vertexData: Float64Array;
+ };
+ getOutlinePaths(): CSG.Path2D[];
+ overCutInsideCorners(cutterradius: any): CAG;
+ center(cAxes: string[]): CxG;
+ toDxf(): Blob;
+ static PathsToDxf(paths: CSG.Path2D[]): Blob;
+}
+declare namespace CAG {
+ class Vertex {
+ pos: CSG.Vector2D;
+ tag: number;
+ constructor(pos: CSG.Vector2D);
+ toString(): string;
+ getTag(): number;
+ }
+ class Side extends CxG {
+ vertex0: Vertex;
+ vertex1: Vertex;
+ tag: number;
+ constructor(vertex0: Vertex, vertex1: Vertex);
+ static _fromFakePolygon(polygon: CSG.Polygon): Side;
+ toString(): string;
+ toPolygon3D(z0: any, z1: any): CSG.Polygon;
+ transform(matrix4x4: CSG.Matrix4x4): Side;
+ flipped(): Side;
+ direction(): CSG.Vector2D;
+ getTag(): number;
+ lengthSquared(): number;
+ length(): number;
+ }
+ class fuzzyCAGFactory {
+ vertexfactory: CSG.fuzzyFactory;
+ constructor();
+ getVertex(sourcevertex: Vertex): Vertex;
+ getSide(sourceside: Side): Side;
+ getCAG(sourcecag: CAG): CAG;
+ }
+}
+interface CAG_extrude_options {
+ offset?: number[];
+ twistangle?: number;
+ twiststeps?: number;
+}
+declare namespace CSG {
+ class Polygon2D extends CAG {
+ constructor(points: Vector2D[]);
+ }
+}
diff --git a/OpenJsCad/openjscad-tests.ts b/OpenJsCad/openjscad-tests.ts
index fd13f0dbb4..60ffefff1e 100644
--- a/OpenJsCad/openjscad-tests.ts
+++ b/OpenJsCad/openjscad-tests.ts
@@ -1,4 +1,4 @@
-///
+
function test() {
diff --git a/OpenJsCad/openjscad.d.ts b/OpenJsCad/openjscad.d.ts
deleted file mode 100644
index c0bdbdc1f9..0000000000
--- a/OpenJsCad/openjscad.d.ts
+++ /dev/null
@@ -1,912 +0,0 @@
-// Type definitions for OpenJsCad.js
-// Project: https://github.com/joostn/OpenJsCad
-// Definitions by: Dan Marshall
-// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
-///
-
-declare namespace THREE {
- var CSG: {
- fromCSG: (csg: CSG, defaultColor: any) => {
- colorMesh: Mesh;
- wireframe: Mesh;
- boundLen: number;
- };
- getGeometryVertex: (geometry: any, vertex_position: any) => number;
- };
- function OrbitControls(object: any, domElement: any): void;
- function SpriteCanvasMaterial(parameters?: any): void;
- interface ICanvasRendererOptions {
- canvas?: HTMLCanvasElement;
- alpha?: boolean;
- }
- class CanvasRenderer implements Renderer {
- domElement: HTMLCanvasElement;
- private pixelRatio;
- private autoClear;
- private sortObjects;
- private sortElements;
- private info;
- private _projector;
- private _renderData;
- private _elements;
- private _lights;
- private _canvas;
- private _canvasWidth;
- private _canvasHeight;
- private _canvasWidthHalf;
- private _canvasHeightHalf;
- private _viewportX;
- private _viewportY;
- private _viewportWidth;
- private _viewportHeight;
- private _context;
- private _clearColor;
- private _clearAlpha;
- private _contextGlobalAlpha;
- private _contextGlobalCompositeOperation;
- private _contextStrokeStyle;
- private _camera;
- private _contextFillStyle;
- private _contextLineWidth;
- private _contextLineCap;
- private _contextLineJoin;
- private _contextLineDash;
- private _v1;
- private _v2;
- private _v3;
- private _v4;
- private _v5;
- private _v6;
- private _v1x;
- private _v1y;
- private _v2x;
- private _v2y;
- private _v3x;
- private _v3y;
- private _v4x;
- private _v4y;
- private _v5x;
- private _v5y;
- private _v6x;
- private _v6y;
- private _color;
- private _color1;
- private _color2;
- private _color3;
- private _color4;
- private _diffuseColor;
- private _emissiveColor;
- private _lightColor;
- private _patterns;
- private _image;
- private _uvs;
- private _uv1x;
- private _uv1y;
- private _uv2x;
- private _uv2y;
- private _uv3x;
- private _uv3y;
- private _clipBox;
- private _clearBox;
- private _elemBox;
- private _ambientLight;
- private _directionalLights;
- private _pointLights;
- private _vector3;
- private _centroid;
- private _normal;
- private _normalViewMatrix;
- constructor(parameters: ICanvasRendererOptions);
- supportsVertexTextures(): void;
- setFaceCulling: () => void;
- getPixelRatio(): number;
- setPixelRatio(value: any): void;
- setSize(width: any, height: any, updateStyle: any): void;
- setViewport(x: any, y: any, width: any, height: any): void;
- setScissor(): void;
- enableScissorTest(): void;
- setClearColor(color: any, alpha: any): void;
- setClearColorHex(hex: any, alpha: any): void;
- getClearColor(): Color;
- getClearAlpha(): number;
- getMaxAnisotropy(): number;
- clear(): void;
- clearColor(): void;
- clearDepth(): void;
- clearStencil(): void;
- render(scene: Scene, camera: Camera, renderTarget?: RenderTarget, forceClear?: boolean): void;
- calculateLights(): void;
- calculateLight(position: any, normal: any, color: any): void;
- renderSprite(v1: any, element: any, material: any): void;
- renderLine(v1: any, v2: any, element: any, material: any): void;
- renderFace3(v1: any, v2: any, v3: any, uv1: any, uv2: any, uv3: any, element: any, material: any): void;
- drawTriangle(x0: any, y0: any, x1: any, y1: any, x2: any, y2: any): void;
- strokePath(color: any, linewidth: any, linecap: any, linejoin: any): void;
- fillPath(color: any): void;
- onTextureUpdate(event: any): void;
- textureToPattern(texture: any): void;
- patternPath(x0: any, y0: any, x1: any, y1: any, x2: any, y2: any, u0: any, v0: any, u1: any, v1: any, u2: any, v2: any, texture: any): void;
- clipImage(x0: any, y0: any, x1: any, y1: any, x2: any, y2: any, u0: any, v0: any, u1: any, v1: any, u2: any, v2: any, image: any): void;
- expand(v1: any, v2: any, pixels: any): void;
- setOpacity(value: any): void;
- setBlending(value: any): void;
- setLineWidth(value: any): void;
- setLineCap(value: any): void;
- setLineJoin(value: any): void;
- setStrokeStyle(value: any): void;
- setFillStyle(value: any): void;
- setLineDash(value: any): void;
- }
- function RenderableObject(): void;
- function RenderableFace(): void;
- function RenderableVertex(): void;
- function RenderableLine(): void;
- function RenderableSprite(): void;
- function Projector(): void;
-}
-declare namespace OpenJsCad {
- interface ILog {
- (x: string): void;
- prevLogTime?: number;
- }
- var log: ILog;
- interface IViewerOptions {
- drawLines?: boolean;
- drawFaces?: boolean;
- color?: number[];
- bgColor?: number;
- noWebGL?: boolean;
- }
- interface ProcessorOptions extends IViewerOptions {
- verbose?: boolean;
- viewerwidth?: number;
- viewerheight?: number;
- viewerheightratio?: number;
- }
- class Viewer {
- private perspective;
- private drawOptions;
- private size;
- private defaultColor_;
- private bgColor_;
- private containerElm_;
- private scene_;
- private camera_;
- private controls_;
- private renderer_;
- private canvas;
- private pauseRender_;
- private requestID_;
- constructor(containerElm: any, size: any, options: IViewerOptions);
- createScene(drawAxes: any, axLen: any): void;
- createCamera(): void;
- createControls(canvas: any): void;
- webGLAvailable(): boolean;
- createRenderer(bool_noWebGL: any): void;
- render(): void;
- animate(): void;
- cancelAnimate(): void;
- refreshRenderer(bool_noWebGL: any): void;
- drawAxes(axLen: any): void;
- setCsg(csg: any, resetZoom: any): void;
- applyDrawOptions(): void;
- clear(): void;
- getUserMeshes(str?: any): THREE.Object3D[];
- resetZoom(r: any): void;
- parseSizeParams(): void;
- handleResize(): void;
- }
- function makeAbsoluteUrl(url: any, baseurl: any): any;
- function isChrome(): boolean;
- function runMainInWorker(mainParameters: any): void;
- function expandResultObjectArray(result: any): any;
- function checkResult(result: any): void;
- function resultToCompactBinary(resultin: any): any;
- function resultFromCompactBinary(resultin: any): any;
- function parseJsCadScriptSync(script: any, mainParameters: any, debugging: any): any;
- function parseJsCadScriptASync(script: any, mainParameters: any, options: any, callback: any): Worker;
- function getWindowURL(): URL;
- function textToBlobUrl(txt: any): string;
- function revokeBlobUrl(url: any): void;
- function FileSystemApiErrorHandler(fileError: any, operation: any): void;
- function AlertUserOfUncaughtExceptions(): void;
- function getParamDefinitions(script: any): any[];
- interface EventHandler {
- (ev?: Event): any;
- }
- /**
- * options parameter:
- * - drawLines: display wireframe lines
- * - drawFaces: display surfaces
- * - bgColor: canvas background color
- * - color: object color
- * - viewerwidth, viewerheight: set rendering size. Works with any css unit.
- * viewerheight can also be specified as a ratio to width, ie number e (0, 1]
- * - noWebGL: force render without webGL
- * - verbose: show additional info (currently only time used for rendering)
- */
- interface ViewerSize {
- widthDefault: string;
- heightDefault: string;
- width: number;
- height: number;
- heightratio: number;
- }
- class Processor {
- private containerdiv;
- private options;
- private onchange;
- private static widthDefault;
- private static heightDefault;
- private viewerdiv;
- private viewer;
- private viewerSize;
- private processing;
- private currentObject;
- private hasValidCurrentObject;
- private hasOutputFile;
- private worker;
- private paramDefinitions;
- private paramControls;
- private script;
- private hasError;
- private debugging;
- private errordiv;
- private errorpre;
- private statusdiv;
- private controldiv;
- private statusspan;
- private statusbuttons;
- private abortbutton;
- private renderedElementDropdown;
- private formatDropdown;
- private generateOutputFileButton;
- private downloadOutputFileLink;
- private parametersdiv;
- private parameterstable;
- private currentFormat;
- private filename;
- private currentObjects;
- private currentObjectIndex;
- private isFirstRender_;
- private outputFileDirEntry;
- private outputFileBlobUrl;
- constructor(containerdiv: HTMLDivElement, options?: ProcessorOptions, onchange?: EventHandler);
- static convertToSolid(obj: any): any;
- cleanOption(option: any, deflt: any): any;
- toggleDrawOption(str: any): boolean;
- setDrawOption(str: any, bool: any): void;
- handleResize(): void;
- createElements(): void;
- getFilenameForRenderedObject(): string;
- setRenderedObjects(obj: any): void;
- setSelectedObjectIndex(index: number): void;
- selectedFormat(): any;
- selectedFormatInfo(): any;
- updateDownloadLink(): void;
- clearViewer(): void;
- abort(): void;
- enableItems(): void;
- setOpenJsCadPath(path: string): void;
- addLibrary(lib: any): void;
- setError(txt: string): void;
- setDebugging(debugging: boolean): void;
- setJsCad(script: string, filename?: string): void;
- getParamValues(): {};
- rebuildSolid(): void;
- hasSolid(): boolean;
- isProcessing(): boolean;
- clearOutputFile(): void;
- generateOutputFile(): void;
- currentObjectToBlob(): any;
- supportedFormatsForCurrentObject(): string[];
- formatInfo(format: any): any;
- downloadLinkTextForCurrentObject(): string;
- generateOutputFileBlobUrl(): void;
- generateOutputFileFileSystem(): void;
- createParamControls(): void;
- }
-}
-interface Window {
- Worker: Worker;
-// URL: URL;
- webkitURL: URL;
- requestFileSystem: any;
- webkitRequestFileSystem: any;
-}
-interface IAMFStringOptions {
- unit: string;
-}
-declare class CxG {
- toStlString(): string;
- toStlBinary(): void;
- toAMFString(AMFStringOptions?: IAMFStringOptions): void;
- getBounds(): CxG[];
- transform(matrix4x4: CSG.Matrix4x4): CxG;
- mirrored(plane: CSG.Plane): CxG;
- mirroredX(): CxG;
- mirroredY(): CxG;
- mirroredZ(): CxG;
- translate(v: number[]): CxG;
- translate(v: CSG.Vector3D): CxG;
- scale(f: CSG.Vector3D): CxG;
- rotateX(deg: number): CxG;
- rotateY(deg: number): CxG;
- rotateZ(deg: number): CxG;
- rotate(rotationCenter: CSG.Vector3D, rotationAxis: CSG.Vector3D, degrees: number): CxG;
- rotateEulerAngles(alpha: number, beta: number, gamma: number, position: number[]): CxG;
-}
-interface ICenter {
- center(cAxes: string[]): CxG;
-}
-declare class CSG extends CxG implements ICenter {
- polygons: CSG.Polygon[];
- properties: CSG.Properties;
- isCanonicalized: boolean;
- isRetesselated: boolean;
- cachedBoundingBox: CSG.Vector3D[];
- static defaultResolution2D: number;
- static defaultResolution3D: number;
- static fromPolygons(polygons: CSG.Polygon[]): CSG;
- static fromSlices(options: any): CSG;
- static fromObject(obj: any): CSG;
- static fromCompactBinary(bin: any): CSG;
- toPolygons(): CSG.Polygon[];
- union(csg: CSG[]): CSG;
- union(csg: CSG): CSG;
- unionSub(csg: CSG, retesselate?: boolean, canonicalize?: boolean): CSG;
- unionForNonIntersecting(csg: CSG): CSG;
- subtract(csg: CSG[]): CSG;
- subtract(csg: CSG): CSG;
- subtractSub(csg: CSG, retesselate: boolean, canonicalize: boolean): CSG;
- intersect(csg: CSG[]): CSG;
- intersect(csg: CSG): CSG;
- intersectSub(csg: CSG, retesselate?: boolean, canonicalize?: boolean): CSG;
- invert(): CSG;
- transform1(matrix4x4: CSG.Matrix4x4): CSG;
- transform(matrix4x4: CSG.Matrix4x4): CSG;
- toString(): string;
- expand(radius: number, resolution: number): CSG;
- contract(radius: number, resolution: number): CSG;
- stretchAtPlane(normal: number[], point: number[], length: number): CSG;
- expandedShell(radius: number, resolution: number, unionWithThis: boolean): CSG;
- canonicalized(): CSG;
- reTesselated(): CSG;
- getBounds(): CSG.Vector3D[];
- mayOverlap(csg: CSG): boolean;
- cutByPlane(plane: CSG.Plane): CSG;
- connectTo(myConnector: CSG.Connector, otherConnector: CSG.Connector, mirror: boolean, normalrotation: number): CSG;
- setShared(shared: CSG.Polygon.Shared): CSG;
- setColor(args: any): CSG;
- toCompactBinary(): {
- "class": string;
- numPolygons: number;
- numVerticesPerPolygon: Uint32Array;
- polygonPlaneIndexes: Uint32Array;
- polygonSharedIndexes: Uint32Array;
- polygonVertices: Uint32Array;
- vertexData: Float64Array;
- planeData: Float64Array;
- shared: CSG.Polygon.Shared[];
- };
- toPointCloud(cuberadius: any): CSG;
- getTransformationAndInverseTransformationToFlatLying(): any;
- getTransformationToFlatLying(): any;
- lieFlat(): CSG;
- projectToOrthoNormalBasis(orthobasis: CSG.OrthoNormalBasis): CAG;
- sectionCut(orthobasis: CSG.OrthoNormalBasis): CAG;
- fixTJunctions(): CSG;
- toTriangles(): any[];
- getFeatures(features: any): any;
- center(cAxes: string[]): CxG;
- toX3D(): Blob;
- toStlBinary(): Blob;
- toStlString(): string;
- toAMFString(m: IAMFStringOptions): Blob;
-}
-declare namespace CSG {
- function fnNumberSort(a: any, b: any): number;
- function parseOption(options: any, optionname: any, defaultvalue: any): any;
- function parseOptionAs3DVector(options: any, optionname: any, defaultvalue: any): Vector3D;
- function parseOptionAs3DVectorList(options: any, optionname: any, defaultvalue: any): any;
- function parseOptionAs2DVector(options: any, optionname: any, defaultvalue: any): any;
- function parseOptionAsFloat(options: any, optionname: any, defaultvalue: any): any;
- function parseOptionAsInt(options: any, optionname: any, defaultvalue: any): any;
- function parseOptionAsBool(options: any, optionname: any, defaultvalue: any): any;
- function cube(options: any): CSG;
- function sphere(options: any): CSG;
- function cylinder(options: any): CSG;
- function roundedCylinder(options: any): CSG;
- function roundedCube(options: any): CSG;
- /**
- * polyhedron accepts openscad style arguments. I.e. define face vertices clockwise looking from outside
- */
- function polyhedron(options: any): CSG;
- function IsFloat(n: any): boolean;
- function solve2Linear(a: any, b: any, c: any, d: any, u: any, v: any): number[];
- class Vector3D extends CxG {
- x: number;
- y: number;
- z: number;
- constructor(v3: Vector3D);
- constructor(v2: Vector2D);
- constructor(v2: number[]);
- constructor(x: number, y: number);
- constructor(x: number, y: number, z: number);
- static Create(x: number, y: number, z: number): Vector3D;
- clone(): Vector3D;
- negated(): Vector3D;
- abs(): Vector3D;
- plus(a: Vector3D): Vector3D;
- minus(a: Vector3D): Vector3D;
- times(a: number): Vector3D;
- dividedBy(a: number): Vector3D;
- dot(a: Vector3D): number;
- lerp(a: Vector3D, t: number): Vector3D;
- lengthSquared(): number;
- length(): number;
- unit(): Vector3D;
- cross(a: Vector3D): Vector3D;
- distanceTo(a: Vector3D): number;
- distanceToSquared(a: Vector3D): number;
- equals(a: Vector3D): boolean;
- multiply4x4(matrix4x4: Matrix4x4): Vector3D;
- transform(matrix4x4: Matrix4x4): Vector3D;
- toString(): string;
- randomNonParallelVector(): Vector3D;
- min(p: Vector3D): Vector3D;
- max(p: Vector3D): Vector3D;
- toStlString(): string;
- toAMFString(): string;
- }
- class Vertex extends CxG {
- pos: Vector3D;
- tag: number;
- constructor(pos: Vector3D);
- static fromObject(obj: any): Vertex;
- flipped(): Vertex;
- getTag(): number;
- interpolate(other: Vertex, t: number): Vertex;
- transform(matrix4x4: Matrix4x4): Vertex;
- toString(): string;
- toStlString(): string;
- toAMFString(): string;
- }
- class Plane extends CxG {
- normal: Vector3D;
- w: number;
- tag: number;
- constructor(normal: Vector3D, w: number);
- static fromObject(obj: any): Plane;
- static EPSILON: number;
- static fromVector3Ds(a: Vector3D, b: Vector3D, c: Vector3D): Plane;
- static anyPlaneFromVector3Ds(a: Vector3D, b: Vector3D, c: Vector3D): Plane;
- static fromPoints(a: Vector3D, b: Vector3D, c: Vector3D): Plane;
- static fromNormalAndPoint(normal: Vector3D, point: Vector3D): Plane;
- static fromNormalAndPoint(normal: number[], point: number[]): Plane;
- flipped(): Plane;
- getTag(): number;
- equals(n: Plane): boolean;
- transform(matrix4x4: Matrix4x4): Plane;
- splitPolygon(polygon: Polygon): {
- type: any;
- front: any;
- back: any;
- };
- splitLineBetweenPoints(p1: Vector3D, p2: Vector3D): Vector3D;
- intersectWithLine(line3d: Line3D): Vector3D;
- intersectWithPlane(plane: Plane): Line3D;
- signedDistanceToPoint(point: Vector3D): number;
- toString(): string;
- mirrorPoint(point3d: Vector3D): Vector3D;
- }
- class Polygon extends CxG {
- vertices: Vertex[];
- shared: Polygon.Shared;
- plane: Plane;
- cachedBoundingSphere: any;
- cachedBoundingBox: Vector3D[];
- static defaultShared: CSG.Polygon.Shared;
- constructor(vertices: Vector3D, shared?: Polygon.Shared, plane?: Plane);
- constructor(vertices: Vertex[], shared?: Polygon.Shared, plane?: Plane);
- static fromObject(obj: any): Polygon;
- checkIfConvex(): void;
- setColor(args: any): Polygon;
- getSignedVolume(): number;
- getArea(): number;
- getTetraFeatures(features: any): any[];
- extrude(offsetvector: any): CSG;
- boundingSphere(): any;
- boundingBox(): Vector3D[];
- flipped(): Polygon;
- transform(matrix4x4: Matrix4x4): Polygon;
- toString(): string;
- projectToOrthoNormalBasis(orthobasis: OrthoNormalBasis): CAG;
- /**
- * Creates solid from slices (CSG.Polygon) by generating walls
- * @param {Object} options Solid generating options
- * - numslices {Number} Number of slices to be generated
- * - callback(t, slice) {Function} Callback function generating slices.
- * arguments: t = [0..1], slice = [0..numslices - 1]
- * return: CSG.Polygon or null to skip
- * - loop {Boolean} no flats, only walls, it's used to generate solids like a tor
- */
- solidFromSlices(options: any): CSG;
- /**
- *
- * @param walls Array of wall polygons
- * @param bottom Bottom polygon
- * @param top Top polygon
- */
- private _addWalls(walls, bottom, top, bFlipped);
- static verticesConvex(vertices: Vertex[], planenormal: any): boolean;
- static createFromPoints(points: number[][], shared?: CSG.Polygon.Shared, plane?: Plane): Polygon;
- static isConvexPoint(prevpoint: any, point: any, nextpoint: any, normal: any): boolean;
- static isStrictlyConvexPoint(prevpoint: any, point: any, nextpoint: any, normal: any): boolean;
- toStlString(): string;
- }
-}
-declare namespace CSG.Polygon {
- class Shared {
- color: any;
- tag: any;
- constructor(color: any);
- static fromObject(obj: any): Shared;
- static fromColor(args: any): Shared;
- getTag(): any;
- getHash(): any;
- }
-}
-declare namespace CSG {
- class PolygonTreeNode {
- parent: any;
- children: any;
- polygon: Polygon;
- removed: boolean;
- constructor();
- addPolygons(polygons: any): void;
- remove(): void;
- isRemoved(): boolean;
- isRootNode(): boolean;
- invert(): void;
- getPolygon(): Polygon;
- getPolygons(result: Polygon[]): void;
- splitByPlane(plane: any, coplanarfrontnodes: any, coplanarbacknodes: any, frontnodes: any, backnodes: any): void;
- _splitByPlane(plane: any, coplanarfrontnodes: any, coplanarbacknodes: any, frontnodes: any, backnodes: any): void;
- addChild(polygon: Polygon): PolygonTreeNode;
- invertSub(): void;
- recursivelyInvalidatePolygon(): void;
- }
- class Tree {
- polygonTree: PolygonTreeNode;
- rootnode: Node;
- constructor(polygons: Polygon[]);
- invert(): void;
- clipTo(tree: Tree, alsoRemovecoplanarFront?: boolean): void;
- allPolygons(): Polygon[];
- addPolygons(polygons: Polygon[]): void;
- }
- class Node {
- parent: Node;
- plane: Plane;
- front: any;
- back: any;
- polygontreenodes: PolygonTreeNode[];
- constructor(parent: Node);
- invert(): void;
- clipPolygons(polygontreenodes: PolygonTreeNode[], alsoRemovecoplanarFront: boolean): void;
- clipTo(tree: Tree, alsoRemovecoplanarFront: boolean): void;
- addPolygonTreeNodes(polygontreenodes: PolygonTreeNode[]): void;
- getParentPlaneNormals(normals: Vector3D[], maxdepth: number): void;
- }
- class Matrix4x4 {
- elements: number[];
- constructor(elements?: number[]);
- plus(m: Matrix4x4): Matrix4x4;
- minus(m: Matrix4x4): Matrix4x4;
- multiply(m: Matrix4x4): Matrix4x4;
- clone(): Matrix4x4;
- rightMultiply1x3Vector(v: Vector3D): Vector3D;
- leftMultiply1x3Vector(v: Vector3D): Vector3D;
- rightMultiply1x2Vector(v: Vector2D): Vector2D;
- leftMultiply1x2Vector(v: Vector2D): Vector2D;
- isMirroring(): boolean;
- static unity(): Matrix4x4;
- static rotationX(degrees: number): Matrix4x4;
- static rotationY(degrees: number): Matrix4x4;
- static rotationZ(degrees: number): Matrix4x4;
- static rotation(rotationCenter: CSG.Vector3D, rotationAxis: CSG.Vector3D, degrees: number): Matrix4x4;
- static translation(v: number[]): Matrix4x4;
- static translation(v: Vector3D): Matrix4x4;
- static mirroring(plane: Plane): Matrix4x4;
- static scaling(v: number[]): Matrix4x4;
- static scaling(v: Vector3D): Matrix4x4;
- }
- class Vector2D extends CxG {
- x: number;
- y: number;
- constructor(x: number, y: number);
- constructor(x: number[]);
- constructor(x: Vector2D);
- static fromAngle(radians: number): Vector2D;
- static fromAngleDegrees(degrees: number): Vector2D;
- static fromAngleRadians(radians: number): Vector2D;
- static Create(x: number, y: number): Vector2D;
- toVector3D(z: number): Vector3D;
- equals(a: Vector2D): boolean;
- clone(): Vector2D;
- negated(): Vector2D;
- plus(a: Vector2D): Vector2D;
- minus(a: Vector2D): Vector2D;
- times(a: number): Vector2D;
- dividedBy(a: number): Vector2D;
- dot(a: Vector2D): number;
- lerp(a: Vector2D, t: number): Vector2D;
- length(): number;
- distanceTo(a: Vector2D): number;
- distanceToSquared(a: Vector2D): number;
- lengthSquared(): number;
- unit(): Vector2D;
- cross(a: Vector2D): number;
- normal(): Vector2D;
- multiply4x4(matrix4x4: Matrix4x4): Vector2D;
- transform(matrix4x4: Matrix4x4): Vector2D;
- angle(): number;
- angleDegrees(): number;
- angleRadians(): number;
- min(p: Vector2D): Vector2D;
- max(p: Vector2D): Vector2D;
- toString(): string;
- abs(): Vector2D;
- }
- class Line2D extends CxG {
- normal: Vector2D;
- w: number;
- constructor(normal: Vector2D, w: number);
- static fromPoints(p1: Vector2D, p2: Vector2D): Line2D;
- reverse(): Line2D;
- equals(l: Line2D): boolean;
- origin(): Vector2D;
- direction(): Vector2D;
- xAtY(y: number): number;
- absDistanceToPoint(point: Vector2D): number;
- intersectWithLine(line2d: Line2D): Vector2D;
- transform(matrix4x4: Matrix4x4): Line2D;
- }
- class Line3D extends CxG {
- point: Vector3D;
- direction: Vector3D;
- constructor(point: Vector3D, direction: Vector3D);
- static fromPoints(p1: Vector3D, p2: Vector3D): Line3D;
- static fromPlanes(p1: Plane, p2: Plane): Line3D;
- intersectWithPlane(plane: Plane): Vector3D;
- clone(): Line3D;
- reverse(): Line3D;
- transform(matrix4x4: Matrix4x4): Line3D;
- closestPointOnLine(point: Vector3D): Vector3D;
- distanceToPoint(point: Vector3D): number;
- equals(line3d: Line3D): boolean;
- }
- class OrthoNormalBasis extends CxG {
- v: Vector3D;
- u: Vector3D;
- plane: Plane;
- planeorigin: Vector3D;
- constructor(plane: Plane, rightvector?: Vector3D);
- static GetCartesian(xaxisid: string, yaxisid: string): OrthoNormalBasis;
- static Z0Plane(): OrthoNormalBasis;
- getProjectionMatrix(): Matrix4x4;
- getInverseProjectionMatrix(): Matrix4x4;
- to2D(vec3: Vector3D): Vector2D;
- to3D(vec2: Vector2D): Vector3D;
- line3Dto2D(line3d: Line3D): Line2D;
- line2Dto3D(line2d: Line2D): Line3D;
- transform(matrix4x4: Matrix4x4): OrthoNormalBasis;
- }
- function interpolateBetween2DPointsForY(point1: Vector2D, point2: Vector2D, y: number): number;
- function reTesselateCoplanarPolygons(sourcepolygons: CSG.Polygon[], destpolygons: CSG.Polygon[]): void;
- class fuzzyFactory {
- multiplier: number;
- lookuptable: any;
- constructor(numdimensions: number, tolerance: number);
- lookupOrCreate(els: any, creatorCallback: any): any;
- }
- class fuzzyCSGFactory {
- vertexfactory: fuzzyFactory;
- planefactory: fuzzyFactory;
- polygonsharedfactory: any;
- constructor();
- getPolygonShared(sourceshared: Polygon.Shared): Polygon.Shared;
- getVertex(sourcevertex: Vertex): Vertex;
- getPlane(sourceplane: Plane): Plane;
- getPolygon(sourcepolygon: Polygon): Polygon;
- getCSG(sourcecsg: CSG): CSG;
- }
- var staticTag: number;
- function getTag(): number;
- class Properties {
- cube: Properties;
- center: any;
- facecenters: any[];
- roundedCube: Properties;
- cylinder: Properties;
- start: any;
- end: any;
- facepointH: any;
- facepointH90: any;
- sphere: Properties;
- facepoint: any;
- roundedCylinder: any;
- _transform(matrix4x4: Matrix4x4): Properties;
- _merge(otherproperties: Properties): Properties;
- static transformObj(source: any, result: any, matrix4x4: Matrix4x4): void;
- static cloneObj(source: any, result: any): void;
- static addFrom(result: any, otherproperties: Properties): void;
- }
- class Connector extends CxG {
- point: Vector3D;
- axisvector: Vector3D;
- normalvector: Vector3D;
- constructor(point: number[], axisvector: Vector3D, normalvector: number[]);
- constructor(point: number[], axisvector: number[], normalvector: number[]);
- constructor(point: number[], axisvector: number[], normalvector: Vector3D);
- constructor(point: Vector3D, axisvector: number[], normalvector: Vector3D);
- constructor(point: Vector3D, axisvector: number[], normalvector: number[]);
- constructor(point: Vector3D, axisvector: Vector3D, normalvector: Vector3D);
- normalized(): Connector;
- transform(matrix4x4: Matrix4x4): Connector;
- getTransformationTo(other: Connector, mirror: boolean, normalrotation: number): Matrix4x4;
- axisLine(): Line3D;
- extend(distance: number): Connector;
- }
- class ConnectorList {
- connectors_: Connector[];
- closed: boolean;
- constructor(connectors: Connector[]);
- static defaultNormal: number[];
- static fromPath2D(path2D: CSG.Path2D, arg1: any, arg2: any): ConnectorList;
- static _fromPath2DTangents(path2D: any, start: any, end: any): ConnectorList;
- static _fromPath2DExplicit(path2D: any, angleIsh: any): ConnectorList;
- setClosed(bool: boolean): void;
- appendConnector(conn: Connector): void;
- followWith(cagish: any): CSG;
- verify(): void;
- }
- interface IRadiusOptions {
- radius?: number;
- resolution?: number;
- }
- interface ICircleOptions extends IRadiusOptions {
- center?: Vector2D | number[];
- }
- interface IArcOptions extends ICircleOptions {
- startangle?: number;
- endangle?: number;
- maketangent?: boolean;
- }
- interface IEllpiticalArcOptions extends IRadiusOptions {
- clockwise?: boolean;
- large?: boolean;
- xaxisrotation?: number;
- xradius?: number;
- yradius?: number;
- }
- interface IRectangleOptions {
- center?: Vector2D;
- corner1?: Vector2D;
- corner2?: Vector2D;
- radius?: Vector2D;
- }
- interface IRoundRectangleOptions {
- roundradius: number;
- resolution?: number;
- }
- class Path2D extends CxG {
- closed: boolean;
- points: Vector2D[];
- lastBezierControlPoint: Vector2D;
- constructor(points: number[], closed?: boolean);
- constructor(points: Vector2D[], closed?: boolean);
- static arc(options: IArcOptions): Path2D;
- concat(otherpath: Path2D): Path2D;
- appendPoint(point: Vector2D): Path2D;
- appendPoints(points: Vector2D[]): Path2D;
- close(): Path2D;
- rectangularExtrude(width: number, height: number, resolution: number): CSG;
- expandToCAG(pathradius: number, resolution: number): CAG;
- innerToCAG(): CAG;
- transform(matrix4x4: Matrix4x4): Path2D;
- appendBezier(controlpoints: any, options: any): Path2D;
- appendArc(endpoint: Vector2D, options: IEllpiticalArcOptions): Path2D;
- }
-}
-declare class CAG extends CxG implements ICenter {
- sides: CAG.Side[];
- isCanonicalized: boolean;
- constructor();
- static fromSides(sides: CAG.Side[]): CAG;
- static fromPoints(points: CSG.Vector2D[]): CAG;
- static fromPointsNoCheck(points: CSG.Vector2D[]): CAG;
- static fromFakeCSG(csg: CSG): CAG;
- static linesIntersect(p0start: CSG.Vector2D, p0end: CSG.Vector2D, p1start: CSG.Vector2D, p1end: CSG.Vector2D): boolean;
- static circle(options: CSG.ICircleOptions): CAG;
- static rectangle(options: CSG.IRectangleOptions): CAG;
- static roundedRectangle(options: any): CAG;
- static fromCompactBinary(bin: any): CAG;
- toString(): string;
- _toCSGWall(z0: any, z1: any): CSG;
- _toVector3DPairs(m: CSG.Matrix4x4): CSG.Vector3D[][];
- _toPlanePolygons(options: any): CSG.Polygon[];
- _toWallPolygons(options: any): any[];
- union(cag: CAG[]): CAG;
- union(cag: CAG): CAG;
- subtract(cag: CAG[]): CAG;
- subtract(cag: CAG): CAG;
- intersect(cag: CAG[]): CAG;
- intersect(cag: CAG): CAG;
- transform(matrix4x4: CSG.Matrix4x4): CAG;
- area(): number;
- flipped(): CAG;
- getBounds(): CSG.Vector2D[];
- isSelfIntersecting(): boolean;
- expandedShell(radius: number, resolution: number): CAG;
- expand(radius: number, resolution: number): CAG;
- contract(radius: number, resolution: number): CAG;
- extrudeInOrthonormalBasis(orthonormalbasis: CSG.OrthoNormalBasis, depth: number, options?: any): CSG;
- extrudeInPlane(axis1: any, axis2: any, depth: any, options: any): CSG;
- extrude(options: CAG_extrude_options): CSG;
- rotateExtrude(options: any): CSG;
- check(): void;
- canonicalized(): CAG;
- toCompactBinary(): {
- 'class': string;
- sideVertexIndices: Uint32Array;
- vertexData: Float64Array;
- };
- getOutlinePaths(): CSG.Path2D[];
- overCutInsideCorners(cutterradius: any): CAG;
- center(cAxes: string[]): CxG;
- toDxf(): Blob;
- static PathsToDxf(paths: CSG.Path2D[]): Blob;
-}
-declare namespace CAG {
- class Vertex {
- pos: CSG.Vector2D;
- tag: number;
- constructor(pos: CSG.Vector2D);
- toString(): string;
- getTag(): number;
- }
- class Side extends CxG {
- vertex0: Vertex;
- vertex1: Vertex;
- tag: number;
- constructor(vertex0: Vertex, vertex1: Vertex);
- static _fromFakePolygon(polygon: CSG.Polygon): Side;
- toString(): string;
- toPolygon3D(z0: any, z1: any): CSG.Polygon;
- transform(matrix4x4: CSG.Matrix4x4): Side;
- flipped(): Side;
- direction(): CSG.Vector2D;
- getTag(): number;
- lengthSquared(): number;
- length(): number;
- }
- class fuzzyCAGFactory {
- vertexfactory: CSG.fuzzyFactory;
- constructor();
- getVertex(sourcevertex: Vertex): Vertex;
- getSide(sourceside: Side): Side;
- getCAG(sourcecag: CAG): CAG;
- }
-}
-interface CAG_extrude_options {
- offset?: number[];
- twistangle?: number;
- twiststeps?: number;
-}
-declare namespace CSG {
- class Polygon2D extends CAG {
- constructor(points: Vector2D[]);
- }
-}
diff --git a/OpenJsCad/tsconfig.json b/OpenJsCad/tsconfig.json
new file mode 100644
index 0000000000..bce64cbc97
--- /dev/null
+++ b/OpenJsCad/tsconfig.json
@@ -0,0 +1,17 @@
+{
+ "compilerOptions": {
+ "module": "commonjs",
+ "target": "es6",
+ "noImplicitAny": true,
+ "strictNullChecks": false,
+ "baseUrl": "../",
+ "typesSearchPaths": [
+ "../"
+ ],
+ "noEmit": true
+ },
+ "files": [
+ "index.d.ts",
+ "OpenJsCad-tests.ts"
+ ]
+}
\ No newline at end of file
diff --git a/PayPal-Cordova-Plugin/PayPal-Cordova-Plugin-tests.ts b/PayPal-Cordova-Plugin/PayPal-Cordova-Plugin-tests.ts
index dca1f93120..e83b94ea5b 100644
--- a/PayPal-Cordova-Plugin/PayPal-Cordova-Plugin-tests.ts
+++ b/PayPal-Cordova-Plugin/PayPal-Cordova-Plugin-tests.ts
@@ -1,6 +1,3 @@
-
-///
-
var item: PayPalItem;
item = new PayPalItem("name", 10, "25.00", "USD");
item = new PayPalItem("name", 10, "25.00", "USD", null);
diff --git a/PayPal-Cordova-Plugin/PayPal-Cordova-Plugin.d.ts b/PayPal-Cordova-Plugin/index.d.ts
similarity index 100%
rename from PayPal-Cordova-Plugin/PayPal-Cordova-Plugin.d.ts
rename to PayPal-Cordova-Plugin/index.d.ts
diff --git a/PayPal-Cordova-Plugin/tsconfig.json b/PayPal-Cordova-Plugin/tsconfig.json
new file mode 100644
index 0000000000..1cd4daf266
--- /dev/null
+++ b/PayPal-Cordova-Plugin/tsconfig.json
@@ -0,0 +1,17 @@
+{
+ "compilerOptions": {
+ "module": "commonjs",
+ "target": "es6",
+ "noImplicitAny": true,
+ "strictNullChecks": false,
+ "baseUrl": "../",
+ "typesSearchPaths": [
+ "../"
+ ],
+ "noEmit": true
+ },
+ "files": [
+ "index.d.ts",
+ "PayPal-Cordova-Plugin-tests.ts"
+ ]
+}
\ No newline at end of file
diff --git a/_debugger/_debugger-tests.ts b/_debugger/_debugger-tests.ts
index e6d7cf9980..a44777bd9e 100644
--- a/_debugger/_debugger-tests.ts
+++ b/_debugger/_debugger-tests.ts
@@ -1,4 +1,3 @@
-///
import _debugger = require("_debugger");
var {Client} = _debugger;
diff --git a/_debugger/_debugger.d.ts b/_debugger/_debugger.d.ts
deleted file mode 100644
index 14bf5d49c7..0000000000
--- a/_debugger/_debugger.d.ts
+++ /dev/null
@@ -1,135 +0,0 @@
-// Type definitions for Node.js debugger API
-// Project: http://nodejs.org/
-// Definitions by: Basarat Ali Syed
-// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
-
-///
-
-declare namespace NodeJS {
- export module _debugger {
- export interface Packet {
- raw: string;
- headers: string[];
- body: Message;
- }
-
- export interface Message {
- seq: number;
- type: string;
- }
-
- export interface RequestInfo {
- command: string;
- arguments: any;
- }
-
- export interface Request extends Message, RequestInfo {
- }
-
- export interface Event extends Message {
- event: string;
- body?: any;
- }
-
- export interface Response extends Message {
- request_seq: number;
- success: boolean;
- /** Contains error message if success === false. */
- message?: string;
- /** Contains message body if success === true. */
- body?: any;
- }
-
- export interface BreakpointMessageBody {
- type: string;
- target: number;
- line: number;
- }
-
- export class Protocol {
- res: Packet;
- state: string;
- execute(data: string): void;
- serialize(rq: Request): string;
- onResponse: (pkt: Packet) => void;
- }
-
- export var NO_FRAME: number;
- export var port: number;
-
- export interface ScriptDesc {
- name: string;
- id: number;
- isNative?: boolean;
- handle?: number;
- type: string;
- lineOffset?: number;
- columnOffset?: number;
- lineCount?: number;
- }
-
- export interface Breakpoint {
- id: number;
- scriptId: number;
- script: ScriptDesc;
- line: number;
- condition?: string;
- scriptReq?: string;
- }
-
- export interface RequestHandler {
- (err: boolean, body: Message, res: Packet): void;
- request_seq?: number;
- }
-
- export interface ResponseBodyHandler {
- (err: boolean, body?: any): void;
- request_seq?: number;
- }
-
- export interface ExceptionInfo {
- text: string;
- }
-
- export interface BreakResponse {
- script?: ScriptDesc;
- exception?: ExceptionInfo;
- sourceLine: number;
- sourceLineText: string;
- sourceColumn: number;
- }
-
- export function SourceInfo(body: BreakResponse): string;
-
- export interface ClientInstance extends EventEmitter {
- protocol: Protocol;
- scripts: ScriptDesc[];
- handles: ScriptDesc[];
- breakpoints: Breakpoint[];
- currentSourceLine: number;
- currentSourceColumn: number;
- currentSourceLineText: string;
- currentFrame: number;
- currentScript: string;
-
- connect(port: number, host: string): void;
- req(req: any, cb: RequestHandler): void;
- reqFrameEval(code: string, frame: number, cb: RequestHandler): void;
- mirrorObject(obj: any, depth: number, cb: ResponseBodyHandler): void;
- setBreakpoint(rq: BreakpointMessageBody, cb: RequestHandler): void;
- clearBreakpoint(rq: Request, cb: RequestHandler): void;
- listbreakpoints(cb: RequestHandler): void;
- reqSource(from: number, to: number, cb: RequestHandler): void;
- reqScripts(cb: any): void;
- reqContinue(cb: RequestHandler): void;
- }
-
- export var Client : {
- new (): ClientInstance
- }
- }
-}
-
-declare module "_debugger"{
- export = NodeJS._debugger;
-}
diff --git a/_debugger/index.d.ts b/_debugger/index.d.ts
new file mode 100644
index 0000000000..324a875eba
--- /dev/null
+++ b/_debugger/index.d.ts
@@ -0,0 +1,135 @@
+// Type definitions for Node.js debugger API
+// Project: http://nodejs.org/
+// Definitions by: Basarat Ali Syed
+// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
+
+///
+
+declare namespace NodeJS {
+ export module _debugger {
+ export interface Packet {
+ raw: string;
+ headers: string[];
+ body: Message;
+ }
+
+ export interface Message {
+ seq: number;
+ type: string;
+ }
+
+ export interface RequestInfo {
+ command: string;
+ arguments: any;
+ }
+
+ export interface Request extends Message, RequestInfo {
+ }
+
+ export interface Event extends Message {
+ event: string;
+ body?: any;
+ }
+
+ export interface Response extends Message {
+ request_seq: number;
+ success: boolean;
+ /** Contains error message if success === false. */
+ message?: string;
+ /** Contains message body if success === true. */
+ body?: any;
+ }
+
+ export interface BreakpointMessageBody {
+ type: string;
+ target: number;
+ line: number;
+ }
+
+ export class Protocol {
+ res: Packet;
+ state: string;
+ execute(data: string): void;
+ serialize(rq: Request): string;
+ onResponse: (pkt: Packet) => void;
+ }
+
+ export var NO_FRAME: number;
+ export var port: number;
+
+ export interface ScriptDesc {
+ name: string;
+ id: number;
+ isNative?: boolean;
+ handle?: number;
+ type: string;
+ lineOffset?: number;
+ columnOffset?: number;
+ lineCount?: number;
+ }
+
+ export interface Breakpoint {
+ id: number;
+ scriptId: number;
+ script: ScriptDesc;
+ line: number;
+ condition?: string;
+ scriptReq?: string;
+ }
+
+ export interface RequestHandler {
+ (err: boolean, body: Message, res: Packet): void;
+ request_seq?: number;
+ }
+
+ export interface ResponseBodyHandler {
+ (err: boolean, body?: any): void;
+ request_seq?: number;
+ }
+
+ export interface ExceptionInfo {
+ text: string;
+ }
+
+ export interface BreakResponse {
+ script?: ScriptDesc;
+ exception?: ExceptionInfo;
+ sourceLine: number;
+ sourceLineText: string;
+ sourceColumn: number;
+ }
+
+ export function SourceInfo(body: BreakResponse): string;
+
+ export interface ClientInstance extends EventEmitter {
+ protocol: Protocol;
+ scripts: ScriptDesc[];
+ handles: ScriptDesc[];
+ breakpoints: Breakpoint[];
+ currentSourceLine: number;
+ currentSourceColumn: number;
+ currentSourceLineText: string;
+ currentFrame: number;
+ currentScript: string;
+
+ connect(port: number, host: string): void;
+ req(req: any, cb: RequestHandler): void;
+ reqFrameEval(code: string, frame: number, cb: RequestHandler): void;
+ mirrorObject(obj: any, depth: number, cb: ResponseBodyHandler): void;
+ setBreakpoint(rq: BreakpointMessageBody, cb: RequestHandler): void;
+ clearBreakpoint(rq: Request, cb: RequestHandler): void;
+ listbreakpoints(cb: RequestHandler): void;
+ reqSource(from: number, to: number, cb: RequestHandler): void;
+ reqScripts(cb: any): void;
+ reqContinue(cb: RequestHandler): void;
+ }
+
+ export var Client : {
+ new (): ClientInstance
+ }
+ }
+}
+
+declare module "_debugger"{
+ export = NodeJS._debugger;
+}
diff --git a/_debugger/tsconfig.json b/_debugger/tsconfig.json
new file mode 100644
index 0000000000..be1ad95ec4
--- /dev/null
+++ b/_debugger/tsconfig.json
@@ -0,0 +1,17 @@
+{
+ "compilerOptions": {
+ "module": "commonjs",
+ "target": "es6",
+ "noImplicitAny": true,
+ "strictNullChecks": false,
+ "baseUrl": "../",
+ "typesSearchPaths": [
+ "../"
+ ],
+ "noEmit": true
+ },
+ "files": [
+ "index.d.ts",
+ "_debugger-tests.ts"
+ ]
+}
\ No newline at end of file
diff --git a/abs/abs-tests.ts b/abs/abs-tests.ts
index 80f52f8ffd..45445bbbb6 100644
--- a/abs/abs-tests.ts
+++ b/abs/abs-tests.ts
@@ -1,5 +1,3 @@
-///
-
import Abs from 'abs';
const x: string = Abs('/foo');
diff --git a/abs/abs.d.ts b/abs/abs.d.ts
deleted file mode 100644
index 58a5335283..0000000000
--- a/abs/abs.d.ts
+++ /dev/null
@@ -1,14 +0,0 @@
-// Type definitions for abs 1.1.0
-// Project: https://github.com/IonicaBizau/node-abs
-// Definitions by: Aya Morisawa
-// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
-
-declare module "abs" {
- /**
- * Compute the absolute path of an input.
- * @param input The input path.
- */
- function Abs(input: string): string;
-
- export default Abs;
-}
diff --git a/abs/index.d.ts b/abs/index.d.ts
new file mode 100644
index 0000000000..b5182da9e6
--- /dev/null
+++ b/abs/index.d.ts
@@ -0,0 +1,13 @@
+// Type definitions for abs 1.1.0
+// Project: https://github.com/IonicaBizau/node-abs
+// Definitions by: Aya Morisawa
+// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
+
+
+/**
+ * Compute the absolute path of an input.
+ * @param input The input path.
+ */
+declare function Abs(input: string): string;
+
+export default Abs;
diff --git a/abs/tsconfig.json b/abs/tsconfig.json
new file mode 100644
index 0000000000..2f5b6004be
--- /dev/null
+++ b/abs/tsconfig.json
@@ -0,0 +1,17 @@
+{
+ "compilerOptions": {
+ "module": "commonjs",
+ "target": "es6",
+ "noImplicitAny": true,
+ "strictNullChecks": false,
+ "baseUrl": "../",
+ "typesSearchPaths": [
+ "../"
+ ],
+ "noEmit": true
+ },
+ "files": [
+ "index.d.ts",
+ "abs-tests.ts"
+ ]
+}
\ No newline at end of file
diff --git a/absolute/absolute-tests.ts b/absolute/absolute-tests.ts
index 5c2514450a..b2eceda474 100644
--- a/absolute/absolute-tests.ts
+++ b/absolute/absolute-tests.ts
@@ -1,4 +1,3 @@
-///
import absolute from 'absolute';
diff --git a/absolute/absolute.d.ts b/absolute/absolute.d.ts
deleted file mode 100644
index c0e8e9bd6e..0000000000
--- a/absolute/absolute.d.ts
+++ /dev/null
@@ -1,13 +0,0 @@
-// Type definitions for absolute 0.0.1
-// Project: https://github.com/bahamas10/node-absolute
-// Definitions by: Aya Morisawa
-// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
-
-declare module "absolute" {
- /**
- * Test if a path is absolute
- */
- function absolute(path: string): boolean;
-
- export default absolute;
-}
diff --git a/absolute/index.d.ts b/absolute/index.d.ts
new file mode 100644
index 0000000000..acbcddfc4a
--- /dev/null
+++ b/absolute/index.d.ts
@@ -0,0 +1,11 @@
+// Type definitions for absolute 0.0.1
+// Project: https://github.com/bahamas10/node-absolute
+// Definitions by: Aya Morisawa
+// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
+
+/**
+ * Test if a path is absolute
+ */
+declare function absolute(path: string): boolean;
+
+export default absolute;
diff --git a/absolute/tsconfig.json b/absolute/tsconfig.json
new file mode 100644
index 0000000000..b82b939f49
--- /dev/null
+++ b/absolute/tsconfig.json
@@ -0,0 +1,17 @@
+{
+ "compilerOptions": {
+ "module": "commonjs",
+ "target": "es6",
+ "noImplicitAny": true,
+ "strictNullChecks": false,
+ "baseUrl": "../",
+ "typesSearchPaths": [
+ "../"
+ ],
+ "noEmit": true
+ },
+ "files": [
+ "index.d.ts",
+ "absolute-tests.ts"
+ ]
+}
\ No newline at end of file
diff --git a/acc-wizard/acc-wizard-tests.ts b/acc-wizard/acc-wizard-tests.ts
index 9cf089b44a..74f8df765a 100644
--- a/acc-wizard/acc-wizard-tests.ts
+++ b/acc-wizard/acc-wizard-tests.ts
@@ -1,5 +1,5 @@
-///
-///
+///
+
/**
* @summary Test for "accwizard" without options.
diff --git a/acc-wizard/acc-wizard.d.ts b/acc-wizard/index.d.ts
similarity index 100%
rename from acc-wizard/acc-wizard.d.ts
rename to acc-wizard/index.d.ts
diff --git a/acc-wizard/tsconfig.json b/acc-wizard/tsconfig.json
new file mode 100644
index 0000000000..425a39e6b6
--- /dev/null
+++ b/acc-wizard/tsconfig.json
@@ -0,0 +1,17 @@
+{
+ "compilerOptions": {
+ "module": "commonjs",
+ "target": "es6",
+ "noImplicitAny": true,
+ "strictNullChecks": false,
+ "baseUrl": "../",
+ "typesSearchPaths": [
+ "../"
+ ],
+ "noEmit": true
+ },
+ "files": [
+ "index.d.ts",
+ "acc-wizard-tests.ts"
+ ]
+}
\ No newline at end of file
diff --git a/accounting/accounting-tests.ts b/accounting/accounting-tests.ts
index bc9b74eaad..eff00e33b9 100644
--- a/accounting/accounting-tests.ts
+++ b/accounting/accounting-tests.ts
@@ -1,6 +1,4 @@
-///
-
-// formatMoney
+// formatMoney
// Default usage:
accounting.formatMoney(12345678); // $12,345,678.00
diff --git a/accounting/accounting.d.ts b/accounting/index.d.ts
similarity index 100%
rename from accounting/accounting.d.ts
rename to accounting/index.d.ts
diff --git a/accounting/tsconfig.json b/accounting/tsconfig.json
new file mode 100644
index 0000000000..69ee4cf52f
--- /dev/null
+++ b/accounting/tsconfig.json
@@ -0,0 +1,17 @@
+{
+ "compilerOptions": {
+ "module": "commonjs",
+ "target": "es6",
+ "noImplicitAny": true,
+ "strictNullChecks": false,
+ "baseUrl": "../",
+ "typesSearchPaths": [
+ "../"
+ ],
+ "noEmit": true
+ },
+ "files": [
+ "index.d.ts",
+ "accounting-tests.ts"
+ ]
+}
\ No newline at end of file
diff --git a/ace/all-tests.ts b/ace/all-tests.ts
index 80717ac5da..7a7ef50a75 100644
--- a/ace/all-tests.ts
+++ b/ace/all-tests.ts
@@ -1,9 +1,9 @@
-///
+
var exports: any;
var assert: any;
-var MockRenderer = null;
-var JavaScriptMode = null;
+var MockRenderer: any = null;
+var JavaScriptMode: any = null;
///
///
diff --git a/ace/all-tests.ts.tscparams b/ace/all-tests.ts.tscparams
deleted file mode 100644
index 8b13789179..0000000000
--- a/ace/all-tests.ts.tscparams
+++ /dev/null
@@ -1 +0,0 @@
-
diff --git a/ace/ace.d.ts b/ace/index.d.ts
similarity index 100%
rename from ace/ace.d.ts
rename to ace/index.d.ts
diff --git a/ace/tests/ace-anchor-tests.ts b/ace/tests/ace-anchor-tests.ts
index 08ca8f43fc..2cec45ce1d 100644
--- a/ace/tests/ace-anchor-tests.ts
+++ b/ace/tests/ace-anchor-tests.ts
@@ -1,4 +1,4 @@
-///
+
var assert: any;
var exports = {
diff --git a/ace/tests/ace-anchor-tests.ts.tscparams b/ace/tests/ace-anchor-tests.ts.tscparams
deleted file mode 100644
index 8b13789179..0000000000
--- a/ace/tests/ace-anchor-tests.ts.tscparams
+++ /dev/null
@@ -1 +0,0 @@
-
diff --git a/ace/tests/ace-background_tokenizer-tests.ts b/ace/tests/ace-background_tokenizer-tests.ts
index 8f54bae51c..b77a9e0072 100644
--- a/ace/tests/ace-background_tokenizer-tests.ts
+++ b/ace/tests/ace-background_tokenizer-tests.ts
@@ -1,4 +1,4 @@
-///
+
var assert: any;
diff --git a/ace/tests/ace-background_tokenizer-tests.ts.tscparams b/ace/tests/ace-background_tokenizer-tests.ts.tscparams
deleted file mode 100644
index 8b13789179..0000000000
--- a/ace/tests/ace-background_tokenizer-tests.ts.tscparams
+++ /dev/null
@@ -1 +0,0 @@
-
diff --git a/ace/tests/ace-default-tests.ts b/ace/tests/ace-default-tests.ts
index f8a280c1a2..eed0e42c5b 100644
--- a/ace/tests/ace-default-tests.ts
+++ b/ace/tests/ace-default-tests.ts
@@ -1,4 +1,4 @@
-///
+
var assert: any;
var editor = ace.edit("editor");
diff --git a/ace/tests/ace-default-tests.ts.tscparams b/ace/tests/ace-default-tests.ts.tscparams
deleted file mode 100644
index 8b13789179..0000000000
--- a/ace/tests/ace-default-tests.ts.tscparams
+++ /dev/null
@@ -1 +0,0 @@
-
diff --git a/ace/tests/ace-document-tests.ts b/ace/tests/ace-document-tests.ts
index 7fc342f746..8760717d61 100644
--- a/ace/tests/ace-document-tests.ts
+++ b/ace/tests/ace-document-tests.ts
@@ -1,4 +1,4 @@
-///
+
var assert: any;
var exports = {
diff --git a/ace/tests/ace-document-tests.ts.tscparams b/ace/tests/ace-document-tests.ts.tscparams
deleted file mode 100644
index 8b13789179..0000000000
--- a/ace/tests/ace-document-tests.ts.tscparams
+++ /dev/null
@@ -1 +0,0 @@
-
diff --git a/ace/tests/ace-edit_session-tests.ts b/ace/tests/ace-edit_session-tests.ts
index caa2f1729a..c057cb1297 100644
--- a/ace/tests/ace-edit_session-tests.ts
+++ b/ace/tests/ace-edit_session-tests.ts
@@ -1,4 +1,4 @@
-///
+
var lang: any;
var assert: any;
diff --git a/ace/tests/ace-edit_session-tests.ts.tscparams b/ace/tests/ace-edit_session-tests.ts.tscparams
deleted file mode 100644
index 8b13789179..0000000000
--- a/ace/tests/ace-edit_session-tests.ts.tscparams
+++ /dev/null
@@ -1 +0,0 @@
-
diff --git a/ace/tests/ace-editor1-tests.ts b/ace/tests/ace-editor1-tests.ts
index 78d3aff044..c14d344dae 100644
--- a/ace/tests/ace-editor1-tests.ts
+++ b/ace/tests/ace-editor1-tests.ts
@@ -1,4 +1,4 @@
-///
+
var assert: any;
var exports = {
diff --git a/ace/tests/ace-editor1-tests.ts.tscparams b/ace/tests/ace-editor1-tests.ts.tscparams
deleted file mode 100644
index 8b13789179..0000000000
--- a/ace/tests/ace-editor1-tests.ts.tscparams
+++ /dev/null
@@ -1 +0,0 @@
-
diff --git a/ace/tests/ace-editor_highlight_selected_word-tests.ts b/ace/tests/ace-editor_highlight_selected_word-tests.ts
index e02f32366a..da17d37c81 100644
--- a/ace/tests/ace-editor_highlight_selected_word-tests.ts
+++ b/ace/tests/ace-editor_highlight_selected_word-tests.ts
@@ -1,4 +1,4 @@
-///
+
var lipsum = "Lorem ipsum dolor sit amet, consectetur adipiscing elit. " +
"Mauris at arcu mi, eu lobortis mauris. Quisque ut libero eget " +
diff --git a/ace/tests/ace-editor_highlight_selected_word-tests.ts.tscparams b/ace/tests/ace-editor_highlight_selected_word-tests.ts.tscparams
deleted file mode 100644
index 8b13789179..0000000000
--- a/ace/tests/ace-editor_highlight_selected_word-tests.ts.tscparams
+++ /dev/null
@@ -1 +0,0 @@
-
diff --git a/ace/tests/ace-editor_navigation-tests.ts b/ace/tests/ace-editor_navigation-tests.ts
index b68ae9b9dc..407b1af5de 100644
--- a/ace/tests/ace-editor_navigation-tests.ts
+++ b/ace/tests/ace-editor_navigation-tests.ts
@@ -1,4 +1,4 @@
-///
+
var assert: any;
var renderer: AceAjax.VirtualRenderer;
diff --git a/ace/tests/ace-editor_navigation-tests.ts.tscparams b/ace/tests/ace-editor_navigation-tests.ts.tscparams
deleted file mode 100644
index 8b13789179..0000000000
--- a/ace/tests/ace-editor_navigation-tests.ts.tscparams
+++ /dev/null
@@ -1 +0,0 @@
-
diff --git a/ace/tests/ace-editor_text_edit-tests.ts b/ace/tests/ace-editor_text_edit-tests.ts
index 6231830163..b170fd051c 100644
--- a/ace/tests/ace-editor_text_edit-tests.ts
+++ b/ace/tests/ace-editor_text_edit-tests.ts
@@ -1,4 +1,4 @@
-///
+
var assert: any;
var renderer: AceAjax.VirtualRenderer;
diff --git a/ace/tests/ace-multi_select-tests.ts b/ace/tests/ace-multi_select-tests.ts
index 68c7d1af95..cc571cfee3 100644
--- a/ace/tests/ace-multi_select-tests.ts
+++ b/ace/tests/ace-multi_select-tests.ts
@@ -1,4 +1,4 @@
-///
+
var assert: any;
var editor: any;
diff --git a/ace/tests/ace-multi_select-tests.ts.tscparams b/ace/tests/ace-multi_select-tests.ts.tscparams
deleted file mode 100644
index 8b13789179..0000000000
--- a/ace/tests/ace-multi_select-tests.ts.tscparams
+++ /dev/null
@@ -1 +0,0 @@
-
diff --git a/ace/tests/ace-placeholder-tests.ts b/ace/tests/ace-placeholder-tests.ts
index b9693da372..ba0b27ca88 100644
--- a/ace/tests/ace-placeholder-tests.ts
+++ b/ace/tests/ace-placeholder-tests.ts
@@ -1,4 +1,4 @@
-///
+
var assert: any;
var renderer: AceAjax.VirtualRenderer;
diff --git a/ace/tests/ace-placeholder-tests.ts.tscparams b/ace/tests/ace-placeholder-tests.ts.tscparams
deleted file mode 100644
index 8b13789179..0000000000
--- a/ace/tests/ace-placeholder-tests.ts.tscparams
+++ /dev/null
@@ -1 +0,0 @@
-
diff --git a/ace/tests/ace-range-tests.ts b/ace/tests/ace-range-tests.ts
index 8e560e8d22..a32c74fbde 100644
--- a/ace/tests/ace-range-tests.ts
+++ b/ace/tests/ace-range-tests.ts
@@ -1,4 +1,4 @@
-///
+
var assert: any;
var exports = {
diff --git a/ace/tests/ace-range_list-tests.ts b/ace/tests/ace-range_list-tests.ts
index 3a531579eb..f1f06214f9 100644
--- a/ace/tests/ace-range_list-tests.ts
+++ b/ace/tests/ace-range_list-tests.ts
@@ -1,4 +1,4 @@
-///
+
var assert: any;
function flatten(rangeList) {
diff --git a/ace/tests/ace-range_list-tests.ts.tscparams b/ace/tests/ace-range_list-tests.ts.tscparams
deleted file mode 100644
index 8b13789179..0000000000
--- a/ace/tests/ace-range_list-tests.ts.tscparams
+++ /dev/null
@@ -1 +0,0 @@
-
diff --git a/ace/tests/ace-search-tests.ts b/ace/tests/ace-search-tests.ts
index 14b53397bb..4857d5bfdc 100644
--- a/ace/tests/ace-search-tests.ts
+++ b/ace/tests/ace-search-tests.ts
@@ -1,4 +1,4 @@
-///
+
var assert: any;
var exports = {
diff --git a/ace/tests/ace-selection-tests.ts b/ace/tests/ace-selection-tests.ts
index 884631085e..ab151b88bc 100644
--- a/ace/tests/ace-selection-tests.ts
+++ b/ace/tests/ace-selection-tests.ts
@@ -1,4 +1,4 @@
-///
+
var assert: any;
var exports = {
diff --git a/ace/tests/ace-selection-tests.ts.tscparams b/ace/tests/ace-selection-tests.ts.tscparams
deleted file mode 100644
index 8b13789179..0000000000
--- a/ace/tests/ace-selection-tests.ts.tscparams
+++ /dev/null
@@ -1 +0,0 @@
-
diff --git a/ace/tests/ace-token_iterator-tests.ts b/ace/tests/ace-token_iterator-tests.ts
index 892d781b95..27856a7434 100644
--- a/ace/tests/ace-token_iterator-tests.ts
+++ b/ace/tests/ace-token_iterator-tests.ts
@@ -1,4 +1,4 @@
-///
+
var assert: any;
var mode: any;
diff --git a/ace/tests/ace-token_iterator-tests.ts.tscparams b/ace/tests/ace-token_iterator-tests.ts.tscparams
deleted file mode 100644
index 8b13789179..0000000000
--- a/ace/tests/ace-token_iterator-tests.ts.tscparams
+++ /dev/null
@@ -1 +0,0 @@
-
diff --git a/ace/tests/ace-virtual_renderer-tests.ts b/ace/tests/ace-virtual_renderer-tests.ts
index 51f349dad3..71b1d86bf1 100644
--- a/ace/tests/ace-virtual_renderer-tests.ts
+++ b/ace/tests/ace-virtual_renderer-tests.ts
@@ -1,4 +1,4 @@
-///
+
var assert: any;
var exports = {
diff --git a/ace/tests/ace-virtual_renderer-tests.ts.tscparams b/ace/tests/ace-virtual_renderer-tests.ts.tscparams
deleted file mode 100644
index 8b13789179..0000000000
--- a/ace/tests/ace-virtual_renderer-tests.ts.tscparams
+++ /dev/null
@@ -1 +0,0 @@
-
diff --git a/ace/tsconfig.json b/ace/tsconfig.json
new file mode 100644
index 0000000000..c76f465da5
--- /dev/null
+++ b/ace/tsconfig.json
@@ -0,0 +1,17 @@
+{
+ "files": [
+ "index.d.ts",
+ "all-tests.ts"
+ ],
+ "compilerOptions": {
+ "module": "commonjs",
+ "target": "es6",
+ "noImplicitAny": true,
+ "strictNullChecks": false,
+ "baseUrl": "../",
+ "typesSearchPaths": [
+ "../"
+ ],
+ "noEmit": true
+ }
+}
\ No newline at end of file
diff --git a/acl/acl-mongodbBackend-tests.ts b/acl/acl-mongodbBackend-tests.ts
index 01c9af9082..ae3b1d03c9 100644
--- a/acl/acl-mongodbBackend-tests.ts
+++ b/acl/acl-mongodbBackend-tests.ts
@@ -1,10 +1,8 @@
-///
-
// https://github.com/OptimalBits/node_acl/blob/master/Readme.md
import Acl = require('acl');
import mongodb = require('mongodb');
-var db: mongodb.Db;
+declare var db: mongodb.Db;
// Using the mongo db backend
var acl = new Acl(new Acl.mongodbBackend(db, 'acl_', true));
diff --git a/acl/acl-redisBackend-tests.ts b/acl/acl-redisBackend-tests.ts
index 273aeab3b7..ec1924cce6 100644
--- a/acl/acl-redisBackend-tests.ts
+++ b/acl/acl-redisBackend-tests.ts
@@ -1,10 +1,8 @@
-///
-
// https://github.com/OptimalBits/node_acl/blob/master/Readme.md
import Acl = require('acl');
import redis = require('redis');
-var client: redis.RedisClient;
+declare var client: redis.RedisClient;
// Using the redis backend
var acl = new Acl(new Acl.redisBackend(client, 'acl_'));
diff --git a/acl/acl-tests.ts b/acl/acl-tests.ts
index 551ad9c1cd..07dc401891 100644
--- a/acl/acl-tests.ts
+++ b/acl/acl-tests.ts
@@ -1,5 +1,3 @@
-///
-
// Sample code from
// https://github.com/OptimalBits/node_acl/blob/master/Readme.md
import Acl = require('acl');
diff --git a/acl/acl.d.ts b/acl/acl.d.ts
deleted file mode 100644
index 06defa2449..0000000000
--- a/acl/acl.d.ts
+++ /dev/null
@@ -1,150 +0,0 @@
-// Type definitions for node_acl 0.4.7
-// Project: https://github.com/optimalbits/node_acl
-// Definitions by: Qubo
-// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
-
-///
-///
-
-///
-///
-
-declare module "acl" {
- import http = require('http');
- import Promise = require("bluebird");
-
- type strings = string|string[];
- type Value = string|number;
- type Values = Value|Value[];
- type Action = () => any;
- type Callback = (err: Error) => any;
- type AnyCallback = (err: Error, obj: any) => any;
- type AllowedCallback = (err: Error, allowed: boolean) => any;
- type GetUserId = (req: http.ServerRequest, res: http.ServerResponse) => Value;
-
- interface AclStatic {
- new (backend: Backend, logger: Logger, options: Option): Acl;
- new (backend: Backend, logger: Logger): Acl;
- new (backend: Backend): Acl;
- memoryBackend: MemoryBackendStatic;
- }
-
- interface Logger {
- debug: (msg: string)=>any;
- }
-
- interface Acl {
- addUserRoles: (userId: Value, roles: strings, cb?: Callback) => Promise;
- removeUserRoles: (userId: Value, roles: strings, cb?: Callback) => Promise;
- userRoles: (userId: Value, cb?: (err: Error, roles: string[])=>any) => Promise;
- roleUsers: (role: Value, cb?: (err: Error, users: Values)=>any) => Promise;
- hasRole: (userId: Value, role: string, cb?: (err: Error, isInRole: boolean)=>any) => Promise;
- addRoleParents: (role: string, parents: Values, cb?: Callback) => Promise;
- removeRole: (role: string, cb?: Callback) => Promise;
- removeResource: (resource: string, cb?: Callback) => Promise;
- allow: {
- (roles: Values, resources: strings, permissions: strings, cb?: Callback): Promise;
- (aclSets: AclSet|AclSet[]): Promise;
- }
- removeAllow: (role: string, resources: strings, permissions: strings, cb?: Callback) => Promise;
- removePermissions: (role: string, resources: strings, permissions: strings, cb?: Function) => Promise;
- allowedPermissions: (userId: Value, resources: strings, cb?: AnyCallback) => Promise;
- isAllowed: (userId: Value, resources: strings, permissions: strings, cb?: AllowedCallback) => Promise;
- areAnyRolesAllowed: (roles: strings, resource: strings, permissions: strings, cb?: AllowedCallback) => Promise;
- whatResources: (roles: strings, permissions: strings, cb?: AnyCallback) => Promise;
- permittedResources: (roles: strings, permissions: strings, cb?: Function) => Promise;
- middleware: (numPathComponents: number, userId: Value|GetUserId, actions: strings) => Promise;
- }
-
- interface Option {
- buckets?: BucketsOption;
- }
-
- interface BucketsOption {
- meta?: string;
- parents?: string;
- permissions?: string;
- resources?: string;
- roles?: string;
- users?: string;
- }
-
- interface AclSet {
- roles: strings;
- allows: AclAllow[];
- }
-
- interface AclAllow {
- resources: strings;
- permissions: strings;
- }
-
- interface MemoryBackend extends Backend { }
- interface MemoryBackendStatic {
- new(): MemoryBackend;
- }
-
- //
- // For internal use
- //
- interface Backend {
- begin: () => T;
- end: (transaction: T, cb?: Action) => void;
- clean: (cb?: Action) => void;
- get: (bucket: string, key: Value, cb?: Action) => void;
- union: (bucket: string, keys: Value[], cb?: Action) => void;
- add: (transaction: T, bucket: string, key: Value, values: Values) => void;
- del: (transaction: T, bucket: string, keys: Value[]) => void;
- remove: (transaction: T, bucket: string, key: Value, values: Values) => void;
-
- endAsync: Function; //TODO: Give more specific function signature
- getAsync: Function;
- cleanAsync: Function;
- unionAsync: Function;
- }
-
- interface Contract {
- (args: IArguments): Contract|NoOp;
- debug: boolean;
- fulfilled: boolean;
- args: any[];
- checkedParams: string[];
- params: (...types: string[]) => Contract|NoOp;
- end: () => void;
- }
-
- interface NoOp {
- params: (...types: string[]) => NoOp;
- end: () => void;
- }
-
- // for redis backend
- import redis = require('redis');
-
- interface AclStatic {
- redisBackend: RedisBackendStatic;
- }
-
- interface RedisBackend extends Backend { }
- interface RedisBackendStatic {
- new(redis: redis.RedisClient, prefix: string): RedisBackend;
- new(redis: redis.RedisClient): RedisBackend;
- }
-
- // for mongodb backend
- import mongo = require('mongodb');
-
- interface AclStatic {
- mongodbBackend: MongodbBackendStatic;
- }
-
- interface MongodbBackend extends Backend { }
- interface MongodbBackendStatic {
- new(db: mongo.Db, prefix: string, useSingle: boolean): MongodbBackend;
- new(db: mongo.Db, prefix: string): MongodbBackend;
- new(db: mongo.Db): MongodbBackend;
- }
-
- var _: AclStatic;
- export = _;
-}
diff --git a/acl/index.d.ts b/acl/index.d.ts
new file mode 100644
index 0000000000..6939c9ce9f
--- /dev/null
+++ b/acl/index.d.ts
@@ -0,0 +1,145 @@
+// Type definitions for node_acl 0.4.7
+// Project: https://github.com/optimalbits/node_acl
+// Definitions by: Qubo
+// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
+
+///
+///
+
+import http = require('http');
+import Promise = require("bluebird");
+
+type strings = string | string[];
+type Value = string | number;
+type Values = Value | Value[];
+type Action = () => any;
+type Callback = (err: Error) => any;
+type AnyCallback = (err: Error, obj: any) => any;
+type AllowedCallback = (err: Error, allowed: boolean) => any;
+type GetUserId = (req: http.ServerRequest, res: http.ServerResponse) => Value;
+
+interface AclStatic {
+ new (backend: Backend, logger: Logger, options: Option): Acl;
+ new (backend: Backend, logger: Logger): Acl;
+ new (backend: Backend): Acl;
+ memoryBackend: MemoryBackendStatic;
+}
+
+interface Logger {
+ debug: (msg: string) => any;
+}
+
+interface Acl {
+ addUserRoles: (userId: Value, roles: strings, cb?: Callback) => Promise;
+ removeUserRoles: (userId: Value, roles: strings, cb?: Callback) => Promise;
+ userRoles: (userId: Value, cb?: (err: Error, roles: string[]) => any) => Promise;
+ roleUsers: (role: Value, cb?: (err: Error, users: Values) => any) => Promise;
+ hasRole: (userId: Value, role: string, cb?: (err: Error, isInRole: boolean) => any) => Promise;
+ addRoleParents: (role: string, parents: Values, cb?: Callback) => Promise;
+ removeRole: (role: string, cb?: Callback) => Promise;
+ removeResource: (resource: string, cb?: Callback) => Promise;
+ allow: {
+ (roles: Values, resources: strings, permissions: strings, cb?: Callback): Promise;
+ (aclSets: AclSet | AclSet[]): Promise;
+ }
+ removeAllow: (role: string, resources: strings, permissions: strings, cb?: Callback) => Promise;
+ removePermissions: (role: string, resources: strings, permissions: strings, cb?: Function) => Promise;
+ allowedPermissions: (userId: Value, resources: strings, cb?: AnyCallback) => Promise;
+ isAllowed: (userId: Value, resources: strings, permissions: strings, cb?: AllowedCallback) => Promise;
+ areAnyRolesAllowed: (roles: strings, resource: strings, permissions: strings, cb?: AllowedCallback) => Promise;
+ whatResources: (roles: strings, permissions: strings, cb?: AnyCallback) => Promise;
+ permittedResources: (roles: strings, permissions: strings, cb?: Function) => Promise;
+ middleware: (numPathComponents: number, userId: Value | GetUserId, actions: strings) => Promise;
+}
+
+interface Option {
+ buckets?: BucketsOption;
+}
+
+interface BucketsOption {
+ meta?: string;
+ parents?: string;
+ permissions?: string;
+ resources?: string;
+ roles?: string;
+ users?: string;
+}
+
+interface AclSet {
+ roles: strings;
+ allows: AclAllow[];
+}
+
+interface AclAllow {
+ resources: strings;
+ permissions: strings;
+}
+
+interface MemoryBackend extends Backend { }
+interface MemoryBackendStatic {
+ new (): MemoryBackend;
+}
+
+//
+// For internal use
+//
+interface Backend {
+ begin: () => T;
+ end: (transaction: T, cb?: Action) => void;
+ clean: (cb?: Action) => void;
+ get: (bucket: string, key: Value, cb?: Action) => void;
+ union: (bucket: string, keys: Value[], cb?: Action) => void;
+ add: (transaction: T, bucket: string, key: Value, values: Values) => void;
+ del: (transaction: T, bucket: string, keys: Value[]) => void;
+ remove: (transaction: T, bucket: string, key: Value, values: Values) => void;
+
+ endAsync: Function; //TODO: Give more specific function signature
+ getAsync: Function;
+ cleanAsync: Function;
+ unionAsync: Function;
+}
+
+interface Contract {
+ (args: IArguments): Contract | NoOp;
+ debug: boolean;
+ fulfilled: boolean;
+ args: any[];
+ checkedParams: string[];
+ params: (...types: string[]) => Contract | NoOp;
+ end: () => void;
+}
+
+interface NoOp {
+ params: (...types: string[]) => NoOp;
+ end: () => void;
+}
+
+// for redis backend
+import redis = require('redis');
+
+interface AclStatic {
+ redisBackend: RedisBackendStatic;
+}
+
+interface RedisBackend extends Backend { }
+interface RedisBackendStatic {
+ new (redis: redis.RedisClient, prefix: string): RedisBackend;
+ new (redis: redis.RedisClient): RedisBackend;
+}
+
+// for mongodb backend
+import mongo = require('mongodb');
+
+interface AclStatic {
+ mongodbBackend: MongodbBackendStatic;
+}
+
+interface MongodbBackend extends Backend { }
+interface MongodbBackendStatic {
+ new (db: mongo.Db, prefix: string, useSingle: boolean): MongodbBackend;
+ new (db: mongo.Db, prefix: string): MongodbBackend;
+ new (db: mongo.Db): MongodbBackend;
+}
+
+declare var _: AclStatic;
+export = _;
diff --git a/acl/tsconfig.json b/acl/tsconfig.json
new file mode 100644
index 0000000000..3c28b25610
--- /dev/null
+++ b/acl/tsconfig.json
@@ -0,0 +1,17 @@
+{
+ "compilerOptions": {
+ "module": "commonjs",
+ "target": "es6",
+ "noImplicitAny": true,
+ "strictNullChecks": false,
+ "baseUrl": "../",
+ "typesSearchPaths": [
+ "../"
+ ],
+ "noEmit": true
+ },
+ "files": [
+ "index.d.ts",
+ "acl-tests.ts"
+ ]
+}
\ No newline at end of file
diff --git a/acorn/acorn-tests.ts b/acorn/acorn-tests.ts
index 796ffc3eed..3b2a116897 100644
--- a/acorn/acorn-tests.ts
+++ b/acorn/acorn-tests.ts
@@ -1,13 +1,12 @@
-///
-///
+///
import acorn = require('acorn');
-var token: acorn.Token;
-var tokens: acorn.Token[];
-var comment: acorn.Comment;
-var comments: acorn.Comment[];
-var program: ESTree.Program;
+declare var token: acorn.Token;
+declare var tokens: acorn.Token[];
+declare var comment: acorn.Comment;
+declare var comments: acorn.Comment[];
+declare var program: ESTree.Program;
var any: any;
var string: string;
diff --git a/acorn/acorn.d.ts b/acorn/acorn.d.ts
deleted file mode 100644
index 755aab2a54..0000000000
--- a/acorn/acorn.d.ts
+++ /dev/null
@@ -1,68 +0,0 @@
-// Type definitions for Acorn v1.0.1
-// Project: https://github.com/marijnh/acorn
-// Definitions by: RReverser
-// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
-
-///
-
-declare namespace acorn {
- var version: string;
- function parse(input: string, options?: Options): ESTree.Program;
- function parseExpressionAt(input: string, pos: number, options?: Options): ESTree.Expression;
- function getLineInfo(input: string, offset: number): ESTree.Position;
- var defaultOptions: Options;
-
- interface TokenType {
- label: string;
- keyword: string;
- beforeExpr: boolean;
- startsExpr: boolean;
- isLoop: boolean;
- isAssign: boolean;
- prefix: boolean;
- postfix: boolean;
- binop: number;
- updateContext: (prevType: TokenType) => any;
- }
-
- interface AbstractToken {
- start: number;
- end: number;
- loc: ESTree.SourceLocation;
- range: [number, number];
- }
-
- interface Token extends AbstractToken {
- type: TokenType;
- value: any;
- }
-
- interface Comment extends AbstractToken {
- type: string;
- value: string;
- }
-
- interface Options {
- ecmaVersion?: number;
- sourceType?: string;
- onInsertedSemicolon?: (lastTokEnd: number, lastTokEndLoc?: ESTree.Position) => any;
- onTrailingComma?: (lastTokEnd: number, lastTokEndLoc?: ESTree.Position) => any;
- allowReserved?: boolean;
- allowReturnOutsideFunction?: boolean;
- allowImportExportEverywhere?: boolean;
- allowHashBang?: boolean;
- locations?: boolean;
- onToken?: ((token: Token) => any) | Token[];
- onComment?: ((isBlock: boolean, text: string, start: number, end: number, startLoc?: ESTree.Position, endLoc?: ESTree.Position) => any) | Comment[];
- ranges?: boolean;
- program?: ESTree.Program;
- sourceFile?: string;
- directSourceFile?: string;
- preserveParens?: boolean;
- plugins?: { [name: string]: Function; };
- }
-}
-
-declare module "acorn" {
- export = acorn
-}
diff --git a/acorn/index.d.ts b/acorn/index.d.ts
new file mode 100644
index 0000000000..c7b76692c6
--- /dev/null
+++ b/acorn/index.d.ts
@@ -0,0 +1,67 @@
+// Type definitions for Acorn v1.0.1
+// Project: https://github.com/marijnh/acorn
+// Definitions by: RReverser
+// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
+
+///
+
+export as namespace acorn;
+export = acorn;
+
+declare namespace acorn {
+ var version: string;
+ function parse(input: string, options?: Options): ESTree.Program;
+ function parseExpressionAt(input: string, pos: number, options?: Options): ESTree.Expression;
+ function getLineInfo(input: string, offset: number): ESTree.Position;
+ var defaultOptions: Options;
+
+ interface TokenType {
+ label: string;
+ keyword: string;
+ beforeExpr: boolean;
+ startsExpr: boolean;
+ isLoop: boolean;
+ isAssign: boolean;
+ prefix: boolean;
+ postfix: boolean;
+ binop: number;
+ updateContext: (prevType: TokenType) => any;
+ }
+
+ interface AbstractToken {
+ start: number;
+ end: number;
+ loc: ESTree.SourceLocation;
+ range: [number, number];
+ }
+
+ interface Token extends AbstractToken {
+ type: TokenType;
+ value: any;
+ }
+
+ interface Comment extends AbstractToken {
+ type: string;
+ value: string;
+ }
+
+ interface Options {
+ ecmaVersion?: number;
+ sourceType?: string;
+ onInsertedSemicolon?: (lastTokEnd: number, lastTokEndLoc?: ESTree.Position) => any;
+ onTrailingComma?: (lastTokEnd: number, lastTokEndLoc?: ESTree.Position) => any;
+ allowReserved?: boolean;
+ allowReturnOutsideFunction?: boolean;
+ allowImportExportEverywhere?: boolean;
+ allowHashBang?: boolean;
+ locations?: boolean;
+ onToken?: ((token: Token) => any) | Token[];
+ onComment?: ((isBlock: boolean, text: string, start: number, end: number, startLoc?: ESTree.Position, endLoc?: ESTree.Position) => any) | Comment[];
+ ranges?: boolean;
+ program?: ESTree.Program;
+ sourceFile?: string;
+ directSourceFile?: string;
+ preserveParens?: boolean;
+ plugins?: { [name: string]: Function; };
+ }
+}
diff --git a/acorn/tsconfig.json b/acorn/tsconfig.json
new file mode 100644
index 0000000000..7c27170693
--- /dev/null
+++ b/acorn/tsconfig.json
@@ -0,0 +1,17 @@
+{
+ "compilerOptions": {
+ "module": "commonjs",
+ "target": "es6",
+ "noImplicitAny": true,
+ "strictNullChecks": false,
+ "baseUrl": "../",
+ "typesSearchPaths": [
+ "../"
+ ],
+ "noEmit": true
+ },
+ "files": [
+ "index.d.ts",
+ "acorn-tests.ts"
+ ]
+}
\ No newline at end of file
diff --git a/adal-angular/adal-angular-tests.ts b/adal/adal-angular-tests.ts
similarity index 97%
rename from adal-angular/adal-angular-tests.ts
rename to adal/adal-angular-tests.ts
index 930d94388f..64ab64c898 100644
--- a/adal-angular/adal-angular-tests.ts
+++ b/adal/adal-angular-tests.ts
@@ -1,4 +1,4 @@
-///
+
// Code samples from:
// - https://github.com/AzureAD/azure-activedirectory-library-for-js
diff --git a/adal-angular/adal-angular.d.ts b/adal/adal-angular.d.ts
similarity index 92%
rename from adal-angular/adal-angular.d.ts
rename to adal/adal-angular.d.ts
index 1d0b88d55a..7b8cbb849e 100644
--- a/adal-angular/adal-angular.d.ts
+++ b/adal/adal-angular.d.ts
@@ -3,8 +3,8 @@
// Definitions by: mmaitre314
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
-///
-///
+
+///
declare namespace adal {
diff --git a/adal-angular/adal-tests.ts b/adal/adal-tests.ts
similarity index 92%
rename from adal-angular/adal-tests.ts
rename to adal/adal-tests.ts
index 598134d0a0..4931a7befb 100644
--- a/adal-angular/adal-tests.ts
+++ b/adal/adal-tests.ts
@@ -1,4 +1,4 @@
-///
+
var endpoints = {
"https://yourhost/api": "b6a68585-5287-45b2-ba82-383ba1f60932",
diff --git a/adal-angular/adal.d.ts b/adal/index.d.ts
similarity index 100%
rename from adal-angular/adal.d.ts
rename to adal/index.d.ts
diff --git a/adal/tsconfig.json b/adal/tsconfig.json
new file mode 100644
index 0000000000..af9df9e110
--- /dev/null
+++ b/adal/tsconfig.json
@@ -0,0 +1,17 @@
+{
+ "compilerOptions": {
+ "module": "commonjs",
+ "target": "es6",
+ "noImplicitAny": true,
+ "strictNullChecks": false,
+ "baseUrl": "../",
+ "typesSearchPaths": [
+ "../"
+ ],
+ "noEmit": true
+ },
+ "files": [
+ "index.d.ts",
+ "adal-tests.ts"
+ ]
+}
\ No newline at end of file
diff --git a/add2home/add2home-tests.ts b/add2home/add2home-tests.ts
index 371a8f752a..aeb14a1d18 100644
--- a/add2home/add2home-tests.ts
+++ b/add2home/add2home-tests.ts
@@ -1,4 +1,4 @@
-///
+
addToHome.show(false);
addToHome.close();
diff --git a/add2home/add2home.d.ts b/add2home/index.d.ts
similarity index 100%
rename from add2home/add2home.d.ts
rename to add2home/index.d.ts
diff --git a/add2home/tsconfig.json b/add2home/tsconfig.json
new file mode 100644
index 0000000000..9403be7717
--- /dev/null
+++ b/add2home/tsconfig.json
@@ -0,0 +1,17 @@
+{
+ "compilerOptions": {
+ "module": "commonjs",
+ "target": "es6",
+ "noImplicitAny": true,
+ "strictNullChecks": false,
+ "baseUrl": "../",
+ "typesSearchPaths": [
+ "../"
+ ],
+ "noEmit": true
+ },
+ "files": [
+ "index.d.ts",
+ "add2home-tests.ts"
+ ]
+}
\ No newline at end of file
diff --git a/adm-zip/adm-zip-tests.ts b/adm-zip/adm-zip-tests.ts
index 8637751bfa..2418597087 100644
--- a/adm-zip/adm-zip-tests.ts
+++ b/adm-zip/adm-zip-tests.ts
@@ -1,4 +1,4 @@
-///
+
import AdmZip = require("adm-zip");
// reading archives
diff --git a/adm-zip/adm-zip.d.ts b/adm-zip/adm-zip.d.ts
deleted file mode 100644
index 19298149c3..0000000000
--- a/adm-zip/adm-zip.d.ts
+++ /dev/null
@@ -1,307 +0,0 @@
-// Type definitions for adm-zip v0.4.4
-// Project: https://github.com/cthackers/adm-zip
-// Definitions by: John Vilk , Abner Oliveira
-// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
-
-///
-
-declare module "adm-zip" {
- class AdmZip {
- /**
- * Create a new, empty archive.
- */
- constructor();
- /**
- * Read an existing archive.
- */
- constructor(fileName: string);
- /**
- * Extracts the given entry from the archive and returns the content as a
- * Buffer object.
- * @param entry String with the full path of the entry
- * @return Buffer or Null in case of error
- */
- readFile(entry: string): Buffer;
- /**
- * Extracts the given entry from the archive and returns the content as a
- * Buffer object.
- * @param entry ZipEntry object
- * @return Buffer or Null in case of error
- */
- readFile(entry: AdmZip.IZipEntry): Buffer;
- /**
- * Asynchronous readFile
- * @param entry String with the full path of the entry
- * @param callback Called with a Buffer or Null in case of error
- */
- readFileAsync(entry: string, callback: (data: Buffer, err: string) => any): void;
- /**
- * Asynchronous readFile
- * @param entry ZipEntry object
- * @param callback Called with a Buffer or Null in case of error
- * @return Buffer or Null in case of error
- */
- readFileAsync(entry: AdmZip.IZipEntry, callback: (data: Buffer, err: string) => any): void;
- /**
- * Extracts the given entry from the archive and returns the content as
- * plain text in the given encoding
- * @param entry String with the full path of the entry
- * @param encoding Optional. If no encoding is specified utf8 is used
- * @return String
- */
- readAsText(fileName: string, encoding?: string): string;
- /**
- * Extracts the given entry from the archive and returns the content as
- * plain text in the given encoding
- * @param entry ZipEntry object
- * @param encoding Optional. If no encoding is specified utf8 is used
- * @return String
- */
- readAsText(fileName: AdmZip.IZipEntry, encoding?: string): string;
- /**
- * Asynchronous readAsText
- * @param entry String with the full path of the entry
- * @param callback Called with the resulting string.
- * @param encoding Optional. If no encoding is specified utf8 is used
- */
- readAsTextAsync(fileName: string, callback: (data: string) => any, encoding?: string): void;
- /**
- * Asynchronous readAsText
- * @param entry ZipEntry object
- * @param callback Called with the resulting string.
- * @param encoding Optional. If no encoding is specified utf8 is used
- */
- readAsTextAsync(fileName: AdmZip.IZipEntry, callback: (data: string) => any, encoding?: string): void;
- /**
- * Remove the entry from the file or the entry and all its nested directories
- * and files if the given entry is a directory
- * @param entry String with the full path of the entry
- */
- deleteFile(entry: string): void;
- /**
- * Remove the entry from the file or the entry and all its nested directories
- * and files if the given entry is a directory
- * @param entry A ZipEntry object.
- */
- deleteFile(entry: AdmZip.IZipEntry): void;
- /**
- * Adds a comment to the zip. The zip must be rewritten after
- * adding the comment.
- * @param comment Content of the comment.
- */
- addZipComment(comment: string): void;
- /**
- * Returns the zip comment
- * @return The zip comment.
- */
- getZipComment(): string;
- /**
- * Adds a comment to a specified zipEntry. The zip must be rewritten after
- * adding the comment.
- * The comment cannot exceed 65535 characters in length.
- * @param entry String with the full path of the entry
- * @param comment The comment to add to the entry.
- */
- addZipEntryComment(entry: string, comment: string): void;
- /**
- * Adds a comment to a specified zipEntry. The zip must be rewritten after
- * adding the comment.
- * The comment cannot exceed 65535 characters in length.
- * @param entry ZipEntry object.
- * @param comment The comment to add to the entry.
- */
- addZipEntryComment(entry: AdmZip.IZipEntry, comment: string): void;
- /**
- * Returns the comment of the specified entry.
- * @param entry String with the full path of the entry.
- * @return String The comment of the specified entry.
- */
- getZipEntryComment(entry: string): string;
- /**
- * Returns the comment of the specified entry
- * @param entry ZipEntry object.
- * @return String The comment of the specified entry.
- */
- getZipEntryComment(entry: AdmZip.IZipEntry): string;
- /**
- * Updates the content of an existing entry inside the archive. The zip
- * must be rewritten after updating the content
- * @param entry String with the full path of the entry.
- * @param content The entry's new contents.
- */
- updateFile(entry: string, content: Buffer): void;
- /**
- * Updates the content of an existing entry inside the archive. The zip
- * must be rewritten after updating the content
- * @param entry ZipEntry object.
- * @param content The entry's new contents.
- */
- updateFile(entry: AdmZip.IZipEntry, content: Buffer): void;
- /**
- * Adds a file from the disk to the archive.
- * @param localPath Path to a file on disk.
- * @param zipPath Path to a directory in the archive. Defaults to the empty
- * string.
- */
- addLocalFile(localPath: string, zipPath?: string): void;
- /**
- * Adds a local directory and all its nested files and directories to the
- * archive.
- * @param localPath Path to a folder on disk.
- * @param zipPath Path to a folder in the archive. Defaults to an empty
- * string.
- */
- addLocalFolder(localPath: string, zipPath?: string): void;
- /**
- * Allows you to create a entry (file or directory) in the zip file.
- * If you want to create a directory the entryName must end in / and a null
- * buffer should be provided.
- * @param entryName Entry path
- * @param content Content to add to the entry; must be a 0-length buffer
- * for a directory.
- * @param comment Comment to add to the entry.
- * @param attr Attribute to add to the entry.
- */
- addFile(entryName: string, data: Buffer, comment?: string, attr?: number): void;
- /**
- * Returns an array of ZipEntry objects representing the files and folders
- * inside the archive
- */
- getEntries(): AdmZip.IZipEntry[];
- /**
- * Returns a ZipEntry object representing the file or folder specified by
- * ``name``.
- * @param name Name of the file or folder to retrieve.
- * @return ZipEntry The entry corresponding to the name.
- */
- getEntry(name: string): AdmZip.IZipEntry;
- /**
- * Extracts the given entry to the given targetPath.
- * If the entry is a directory inside the archive, the entire directory and
- * its subdirectories will be extracted.
- * @param entry String with the full path of the entry
- * @param targetPath Target folder where to write the file
- * @param maintainEntryPath If maintainEntryPath is true and the entry is
- * inside a folder, the entry folder will be created in targetPath as
- * well. Default is TRUE
- * @param overwrite If the file already exists at the target path, the file
- * will be overwriten if this is true. Default is FALSE
- *
- * @return Boolean
- */
- extractEntryTo(entryPath: string, targetPath: string, maintainEntryPath?: boolean, overwrite?: boolean): boolean;
- /**
- * Extracts the given entry to the given targetPath.
- * If the entry is a directory inside the archive, the entire directory and
- * its subdirectories will be extracted.
- * @param entry ZipEntry object
- * @param targetPath Target folder where to write the file
- * @param maintainEntryPath If maintainEntryPath is true and the entry is
- * inside a folder, the entry folder will be created in targetPath as
- * well. Default is TRUE
- * @param overwrite If the file already exists at the target path, the file
- * will be overwriten if this is true. Default is FALSE
- * @return Boolean
- */
- extractEntryTo(entryPath: AdmZip.IZipEntry, targetPath: string, maintainEntryPath?: boolean, overwrite?: boolean): boolean;
- /**
- * Extracts the entire archive to the given location
- * @param targetPath Target location
- * @param overwrite If the file already exists at the target path, the file
- * will be overwriten if this is true. Default is FALSE
- */
- extractAllTo(targetPath: string, overwrite?: boolean): void;
- /**
- * Extracts the entire archive to the given location
- * @param targetPath Target location
- * @param overwrite If the file already exists at the target path, the file
- * will be overwriten if this is true. Default is FALSE
- * @param callback The callback function will be called afeter extraction
- */
- extractAllToAsync(targetPath: string, overwrite: boolean, callback: (error: Error) => void): void;
- /**
- * Writes the newly created zip file to disk at the specified location or
- * if a zip was opened and no ``targetFileName`` is provided, it will
- * overwrite the opened zip
- * @param targetFileName
- */
- writeZip(targetPath?: string): void;
- /**
- * Returns the content of the entire zip file as a Buffer object
- * @return Buffer
- */
- toBuffer(): Buffer;
- }
-
- namespace AdmZip {
- /**
- * The ZipEntry is more than a structure representing the entry inside the
- * zip file. Beside the normal attributes and headers a entry can have, the
- * class contains a reference to the part of the file where the compressed
- * data resides and decompresses it when requested. It also compresses the
- * data and creates the headers required to write in the zip file.
- */
- interface IZipEntry {
- /**
- * Represents the full name and path of the file
- */
- entryName: string;
- rawEntryName: Buffer;
- /**
- * Extra data associated with this entry.
- */
- extra: Buffer;
- /**
- * Entry comment.
- */
- comment: string;
- name: string;
- /**
- * Read-Only property that indicates the type of the entry.
- */
- isDirectory: boolean;
- /**
- * Get the header associated with this ZipEntry.
- */
- header: Buffer;
- /**
- * Retrieve the compressed data for this entry. Note that this may trigger
- * compression if any properties were modified.
- */
- getCompressedData(): Buffer;
- /**
- * Asynchronously retrieve the compressed data for this entry. Note that
- * this may trigger compression if any properties were modified.
- */
- getCompressedDataAsync(callback: (data: Buffer) => void): void;
- /**
- * Set the (uncompressed) data to be associated with this entry.
- */
- setData(value: string): void;
- /**
- * Set the (uncompressed) data to be associated with this entry.
- */
- setData(value: Buffer): void;
- /**
- * Get the decompressed data associated with this entry.
- */
- getData(): Buffer;
- /**
- * Asynchronously get the decompressed data associated with this entry.
- */
- getDataAsync(callback: (data: Buffer) => void): void;
- /**
- * Returns the CEN Entry Header to be written to the output zip file, plus
- * the extra data and the entry comment.
- */
- packHeader(): Buffer;
- /**
- * Returns a nicely formatted string with the most important properties of
- * the ZipEntry.
- */
- toString(): string;
- }
- }
-
- export = AdmZip;
-}
diff --git a/adm-zip/index.d.ts b/adm-zip/index.d.ts
new file mode 100644
index 0000000000..f22b929b76
--- /dev/null
+++ b/adm-zip/index.d.ts
@@ -0,0 +1,306 @@
+// Type definitions for adm-zip v0.4.4
+// Project: https://github.com/cthackers/adm-zip
+// Definitions by: John Vilk , Abner Oliveira
+// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
+
+///
+
+
+declare class AdmZip {
+ /**
+ * Create a new, empty archive.
+ */
+ constructor();
+ /**
+ * Read an existing archive.
+ */
+ constructor(fileName: string);
+ /**
+ * Extracts the given entry from the archive and returns the content as a
+ * Buffer object.
+ * @param entry String with the full path of the entry
+ * @return Buffer or Null in case of error
+ */
+ readFile(entry: string): Buffer;
+ /**
+ * Extracts the given entry from the archive and returns the content as a
+ * Buffer object.
+ * @param entry ZipEntry object
+ * @return Buffer or Null in case of error
+ */
+ readFile(entry: AdmZip.IZipEntry): Buffer;
+ /**
+ * Asynchronous readFile
+ * @param entry String with the full path of the entry
+ * @param callback Called with a Buffer or Null in case of error
+ */
+ readFileAsync(entry: string, callback: (data: Buffer, err: string) => any): void;
+ /**
+ * Asynchronous readFile
+ * @param entry ZipEntry object
+ * @param callback Called with a Buffer or Null in case of error
+ * @return Buffer or Null in case of error
+ */
+ readFileAsync(entry: AdmZip.IZipEntry, callback: (data: Buffer, err: string) => any): void;
+ /**
+ * Extracts the given entry from the archive and returns the content as
+ * plain text in the given encoding
+ * @param entry String with the full path of the entry
+ * @param encoding Optional. If no encoding is specified utf8 is used
+ * @return String
+ */
+ readAsText(fileName: string, encoding?: string): string;
+ /**
+ * Extracts the given entry from the archive and returns the content as
+ * plain text in the given encoding
+ * @param entry ZipEntry object
+ * @param encoding Optional. If no encoding is specified utf8 is used
+ * @return String
+ */
+ readAsText(fileName: AdmZip.IZipEntry, encoding?: string): string;
+ /**
+ * Asynchronous readAsText
+ * @param entry String with the full path of the entry
+ * @param callback Called with the resulting string.
+ * @param encoding Optional. If no encoding is specified utf8 is used
+ */
+ readAsTextAsync(fileName: string, callback: (data: string) => any, encoding?: string): void;
+ /**
+ * Asynchronous readAsText
+ * @param entry ZipEntry object
+ * @param callback Called with the resulting string.
+ * @param encoding Optional. If no encoding is specified utf8 is used
+ */
+ readAsTextAsync(fileName: AdmZip.IZipEntry, callback: (data: string) => any, encoding?: string): void;
+ /**
+ * Remove the entry from the file or the entry and all its nested directories
+ * and files if the given entry is a directory
+ * @param entry String with the full path of the entry
+ */
+ deleteFile(entry: string): void;
+ /**
+ * Remove the entry from the file or the entry and all its nested directories
+ * and files if the given entry is a directory
+ * @param entry A ZipEntry object.
+ */
+ deleteFile(entry: AdmZip.IZipEntry): void;
+ /**
+ * Adds a comment to the zip. The zip must be rewritten after
+ * adding the comment.
+ * @param comment Content of the comment.
+ */
+ addZipComment(comment: string): void;
+ /**
+ * Returns the zip comment
+ * @return The zip comment.
+ */
+ getZipComment(): string;
+ /**
+ * Adds a comment to a specified zipEntry. The zip must be rewritten after
+ * adding the comment.
+ * The comment cannot exceed 65535 characters in length.
+ * @param entry String with the full path of the entry
+ * @param comment The comment to add to the entry.
+ */
+ addZipEntryComment(entry: string, comment: string): void;
+ /**
+ * Adds a comment to a specified zipEntry. The zip must be rewritten after
+ * adding the comment.
+ * The comment cannot exceed 65535 characters in length.
+ * @param entry ZipEntry object.
+ * @param comment The comment to add to the entry.
+ */
+ addZipEntryComment(entry: AdmZip.IZipEntry, comment: string): void;
+ /**
+ * Returns the comment of the specified entry.
+ * @param entry String with the full path of the entry.
+ * @return String The comment of the specified entry.
+ */
+ getZipEntryComment(entry: string): string;
+ /**
+ * Returns the comment of the specified entry
+ * @param entry ZipEntry object.
+ * @return String The comment of the specified entry.
+ */
+ getZipEntryComment(entry: AdmZip.IZipEntry): string;
+ /**
+ * Updates the content of an existing entry inside the archive. The zip
+ * must be rewritten after updating the content
+ * @param entry String with the full path of the entry.
+ * @param content The entry's new contents.
+ */
+ updateFile(entry: string, content: Buffer): void;
+ /**
+ * Updates the content of an existing entry inside the archive. The zip
+ * must be rewritten after updating the content
+ * @param entry ZipEntry object.
+ * @param content The entry's new contents.
+ */
+ updateFile(entry: AdmZip.IZipEntry, content: Buffer): void;
+ /**
+ * Adds a file from the disk to the archive.
+ * @param localPath Path to a file on disk.
+ * @param zipPath Path to a directory in the archive. Defaults to the empty
+ * string.
+ */
+ addLocalFile(localPath: string, zipPath?: string): void;
+ /**
+ * Adds a local directory and all its nested files and directories to the
+ * archive.
+ * @param localPath Path to a folder on disk.
+ * @param zipPath Path to a folder in the archive. Defaults to an empty
+ * string.
+ */
+ addLocalFolder(localPath: string, zipPath?: string): void;
+ /**
+ * Allows you to create a entry (file or directory) in the zip file.
+ * If you want to create a directory the entryName must end in / and a null
+ * buffer should be provided.
+ * @param entryName Entry path
+ * @param content Content to add to the entry; must be a 0-length buffer
+ * for a directory.
+ * @param comment Comment to add to the entry.
+ * @param attr Attribute to add to the entry.
+ */
+ addFile(entryName: string, data: Buffer, comment?: string, attr?: number): void;
+ /**
+ * Returns an array of ZipEntry objects representing the files and folders
+ * inside the archive
+ */
+ getEntries(): AdmZip.IZipEntry[];
+ /**
+ * Returns a ZipEntry object representing the file or folder specified by
+ * ``name``.
+ * @param name Name of the file or folder to retrieve.
+ * @return ZipEntry The entry corresponding to the name.
+ */
+ getEntry(name: string): AdmZip.IZipEntry;
+ /**
+ * Extracts the given entry to the given targetPath.
+ * If the entry is a directory inside the archive, the entire directory and
+ * its subdirectories will be extracted.
+ * @param entry String with the full path of the entry
+ * @param targetPath Target folder where to write the file
+ * @param maintainEntryPath If maintainEntryPath is true and the entry is
+ * inside a folder, the entry folder will be created in targetPath as
+ * well. Default is TRUE
+ * @param overwrite If the file already exists at the target path, the file
+ * will be overwriten if this is true. Default is FALSE
+ *
+ * @return Boolean
+ */
+ extractEntryTo(entryPath: string, targetPath: string, maintainEntryPath?: boolean, overwrite?: boolean): boolean;
+ /**
+ * Extracts the given entry to the given targetPath.
+ * If the entry is a directory inside the archive, the entire directory and
+ * its subdirectories will be extracted.
+ * @param entry ZipEntry object
+ * @param targetPath Target folder where to write the file
+ * @param maintainEntryPath If maintainEntryPath is true and the entry is
+ * inside a folder, the entry folder will be created in targetPath as
+ * well. Default is TRUE
+ * @param overwrite If the file already exists at the target path, the file
+ * will be overwriten if this is true. Default is FALSE
+ * @return Boolean
+ */
+ extractEntryTo(entryPath: AdmZip.IZipEntry, targetPath: string, maintainEntryPath?: boolean, overwrite?: boolean): boolean;
+ /**
+ * Extracts the entire archive to the given location
+ * @param targetPath Target location
+ * @param overwrite If the file already exists at the target path, the file
+ * will be overwriten if this is true. Default is FALSE
+ */
+ extractAllTo(targetPath: string, overwrite?: boolean): void;
+ /**
+ * Extracts the entire archive to the given location
+ * @param targetPath Target location
+ * @param overwrite If the file already exists at the target path, the file
+ * will be overwriten if this is true. Default is FALSE
+ * @param callback The callback function will be called afeter extraction
+ */
+ extractAllToAsync(targetPath: string, overwrite: boolean, callback: (error: Error) => void): void;
+ /**
+ * Writes the newly created zip file to disk at the specified location or
+ * if a zip was opened and no ``targetFileName`` is provided, it will
+ * overwrite the opened zip
+ * @param targetFileName
+ */
+ writeZip(targetPath?: string): void;
+ /**
+ * Returns the content of the entire zip file as a Buffer object
+ * @return Buffer
+ */
+ toBuffer(): Buffer;
+}
+
+declare namespace AdmZip {
+ /**
+ * The ZipEntry is more than a structure representing the entry inside the
+ * zip file. Beside the normal attributes and headers a entry can have, the
+ * class contains a reference to the part of the file where the compressed
+ * data resides and decompresses it when requested. It also compresses the
+ * data and creates the headers required to write in the zip file.
+ */
+ interface IZipEntry {
+ /**
+ * Represents the full name and path of the file
+ */
+ entryName: string;
+ rawEntryName: Buffer;
+ /**
+ * Extra data associated with this entry.
+ */
+ extra: Buffer;
+ /**
+ * Entry comment.
+ */
+ comment: string;
+ name: string;
+ /**
+ * Read-Only property that indicates the type of the entry.
+ */
+ isDirectory: boolean;
+ /**
+ * Get the header associated with this ZipEntry.
+ */
+ header: Buffer;
+ /**
+ * Retrieve the compressed data for this entry. Note that this may trigger
+ * compression if any properties were modified.
+ */
+ getCompressedData(): Buffer;
+ /**
+ * Asynchronously retrieve the compressed data for this entry. Note that
+ * this may trigger compression if any properties were modified.
+ */
+ getCompressedDataAsync(callback: (data: Buffer) => void): void;
+ /**
+ * Set the (uncompressed) data to be associated with this entry.
+ */
+ setData(value: string): void;
+ /**
+ * Set the (uncompressed) data to be associated with this entry.
+ */
+ setData(value: Buffer): void;
+ /**
+ * Get the decompressed data associated with this entry.
+ */
+ getData(): Buffer;
+ /**
+ * Asynchronously get the decompressed data associated with this entry.
+ */
+ getDataAsync(callback: (data: Buffer) => void): void;
+ /**
+ * Returns the CEN Entry Header to be written to the output zip file, plus
+ * the extra data and the entry comment.
+ */
+ packHeader(): Buffer;
+ /**
+ * Returns a nicely formatted string with the most important properties of
+ * the ZipEntry.
+ */
+ toString(): string;
+ }
+}
+
+export = AdmZip;
diff --git a/adm-zip/tsconfig.json b/adm-zip/tsconfig.json
new file mode 100644
index 0000000000..3f3e89e027
--- /dev/null
+++ b/adm-zip/tsconfig.json
@@ -0,0 +1,17 @@
+{
+ "compilerOptions": {
+ "module": "commonjs",
+ "target": "es6",
+ "noImplicitAny": true,
+ "strictNullChecks": false,
+ "baseUrl": "../",
+ "typesSearchPaths": [
+ "../"
+ ],
+ "noEmit": true
+ },
+ "files": [
+ "index.d.ts",
+ "adm-zip-tests.ts"
+ ]
+}
\ No newline at end of file
diff --git a/ag-grid/ag-grid-tests.ts b/ag-grid/ag-grid-tests.ts
index 67b98f9f33..7c4ebb0c8c 100644
--- a/ag-grid/ag-grid-tests.ts
+++ b/ag-grid/ag-grid-tests.ts
@@ -1,4 +1,3 @@
-///
checkGridOptions({});
checkColDef({});
diff --git a/ag-grid/ag-grid.d.ts b/ag-grid/index.d.ts
similarity index 100%
rename from ag-grid/ag-grid.d.ts
rename to ag-grid/index.d.ts
diff --git a/ag-grid/tsconfig.json b/ag-grid/tsconfig.json
new file mode 100644
index 0000000000..af7b7c89c6
--- /dev/null
+++ b/ag-grid/tsconfig.json
@@ -0,0 +1,17 @@
+{
+ "files": [
+ "index.d.ts",
+ "ag-grid-tests.ts"
+ ],
+ "compilerOptions": {
+ "module": "commonjs",
+ "target": "es6",
+ "noImplicitAny": true,
+ "strictNullChecks": false,
+ "baseUrl": "../",
+ "typesSearchPaths": [
+ "../"
+ ],
+ "noEmit": true
+ }
+}
\ No newline at end of file
diff --git a/agenda/agenda-tests.ts b/agenda/agenda-tests.ts
index 6be618e59d..8c5e3e19bb 100644
--- a/agenda/agenda-tests.ts
+++ b/agenda/agenda-tests.ts
@@ -1,8 +1,5 @@
-///
-
import * as Agenda from "agenda";
-
var mongoConnectionString = "mongodb://127.0.0.1/agenda";
var agenda = new Agenda({ db: { address: mongoConnectionString } });
diff --git a/agenda/agenda.d.ts b/agenda/agenda.d.ts
deleted file mode 100644
index 011676bc86..0000000000
--- a/agenda/agenda.d.ts
+++ /dev/null
@@ -1,443 +0,0 @@
-// Type definitions for Agenda v0.8.9
-// Project: https://github.com/rschmukler/agenda
-// Definitions by: Meir Gottlieb
-// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
-
-///
-///
-
-declare module "agenda" {
-
- import {EventEmitter} from "events";
- import {Db, Collection, ObjectID} from "mongodb";
-
- interface Callback {
- (err?: Error): void;
- }
-
- interface ResultCallback {
- (err?: Error, result?: T): void;
- }
-
- /**
- * Agenda Configuration.
- */
- interface AgendaConfiguration {
-
- /**
- * Sets the interval with which the queue is checked. A number in milliseconds or a frequency string.
- */
- processEvery?: string | number;
-
- /**
- * Takes a number which specifies the default number of a specific job that can be running at any given moment.
- * By default it is 5.
- */
- defaultConcurrency?: number;
-
- /**
- * Takes a number which specifies the max number of jobs that can be running at any given moment. By default it
- * is 20.
- */
- maxConcurrency?: number;
-
- /**
- * Takes a number which specifies the default number of a specific job that can be locked at any given moment.
- * By default it is 0 for no max.
- */
- defaultLockLimit?: number;
-
- /**
- * Takes a number shich specifies the max number jobs that can be locked at any given moment. By default it is
- * 0 for no max.
- */
- lockLimit?: number;
-
- /**
- * Takes a number which specifies the default lock lifetime in milliseconds. By default it is 10 minutes. This
- * can be overridden by specifying the lockLifetime option to a defined job.
- */
- defaultLockLifetime?: number;
-
- /**
- * Specifies that Agenda should be initialized using and existing MongoDB connection.
- */
- mongo?: {
- /**
- * The MongoDB database connection to use.
- */
- db: Db;
-
- /**
- * The name of the collection to use.
- */
- collection?: string;
- }
-
- /**
- * Specifies that Agenda should connect to MongoDB.
- */
- db?: {
- /**
- * The connection URL.
- */
- address: string;
-
- /**
- * The name of the collection to use.
- */
- collection?: string;
-
- /**
- * Connection options to pass to MongoDB.
- */
- options?: any;
- }
- }
-
- /**
- * The database record associated with a job.
- */
- interface JobAttributes {
- /**
- * The record identity.
- */
- _id: ObjectID;
-
- /**
- * The name of the job.
- */
- name: string;
-
- /**
- * The type of the job (single|normal).
- */
- type: string;
-
- /**
- * The job details.
- */
- data: { [name: string]: any };
-
- /**
- * The priority of the job.
- */
- priority: number;
-
- /**
- * How often the job is repeated using a human-readable or cron format.
- */
- repeatInterval: string | number;
-
- /**
- * The timezone that conforms to [moment-timezone](http://momentjs.com/timezone/).
- */
- repeatTimezone: string;
-
- /**
- * Date/time the job was las modified.
- */
- lastModifiedBy: string;
-
- /**
- * Date/time the job will run next.
- */
- nextRunAt: Date;
-
- /**
- * Date/time the job was locked.
- */
- lockedAt: Date;
-
- /**
- * Date/time the job was last run.
- */
- lastRunAt: Date;
-
- /**
- * Date/time the job last finished running.
- */
- lastFinishedAt: Date;
-
- /**
- * The reason the job failed.
- */
- failReason: string;
-
- /**
- * The number of times the job has failed.
- */
- failCount: number;
-
- /**
- * The date/time the job last failed.
- */
- failedAt: Date;
- }
-
- /**
- * A scheduled job.
- */
- interface Job {
-
- /**
- * The database record associated with the job.
- */
- attrs: JobAttributes;
-
- /**
- * Specifies an interval on which the job should repeat.
- * @param interval A human-readable format String, a cron format String, or a Number.
- * @param options An optional argument that can include a timezone field. The timezone should be a string as
- * accepted by moment-timezone and is considered when using an interval in the cron string format.
- */
- repeatEvery(interval: string | number, options?: { timezone?: string }): Job
-
- /**
- * Specifies a time when the job should repeat. [Possible values](https://github.com/matthewmueller/date#examples).
- * @param time
- */
- repeatAt(time: string): Job
-
- /**
- * Disables the job.
- */
- disable(): Job;
-
- /**
- * Enables the job.
- */
- enable(): Job;
-
- /**
- * Ensure that only one instance of this job exists with the specified properties
- * @param value The properties associated with the job that must be unqiue.
- * @param opts
- */
- unique(value: any, opts?: { insertOnly?: boolean }): Job;
-
- /**
- * Specifies the next time at which the job should run.
- * @param time The next time at which the job should run.
- */
- schedule(time: string | Date): Job;
-
- /**
- * Specifies the priority weighting of the job.
- * @param value The priority of the job (lowest|low|normal|high|highest|number).
- */
- priority(value: string | number): Job;
-
- /**
- * Sets job.attrs.failedAt to now, and sets job.attrs.failReason to reason.
- * @param reason A message or Error object that indicates why the job failed.
- */
- fail(reason: string | Error): Job;
-
- /**
- * Runs the given job and calls callback(err, job) upon completion. Normally you never need to call this manually
- * @param cb Called when the job is completed.
- */
- run(cb?: ResultCallback): Job;
-
- /**
- * Returns true if the job is running; otherwise, returns false.
- */
- isRunning(): boolean;
-
- /**
- * Saves the job into the database.
- * @param cb Called when the job is saved.
- */
- save(cb?: ResultCallback): Job;
-
- /**
- * Removes the job from the database and cancels the job.
- * @param cb Called after the job has beeb removed from the database.
- */
- remove(cb?: Callback): void;
-
- /**
- * Resets the lock on the job. Useful to indicate that the job hasn't timed out when you have very long running
- * jobs.
- * @param cb Called after the job has been saved to the database.
- */
- touch(cb?: Callback): void;
- }
-
- interface JobOptions {
-
- /**
- * Maximum number of that job that can be running at once (per instance of agenda)
- */
- concurrency?: number;
-
- /**
- * Maximum number of that job that can be locked at once (per instance of agenda)
- */
- lockLimit?: number;
-
- /**
- * Interval in ms of how long the job stays locked for (see multiple job processors for more info). A job will
- * automatically unlock if done() is called.
- */
- lockLifetime?: number;
-
- /**
- * (lowest|low|normal|high|highest|number) specifies the priority of the job. Higher priority jobs will run
- * first.
- */
- priority?: string | number;
- }
-
- class Agenda extends EventEmitter {
-
- /**
- * Constructs a new Agenda object.
- * @param config Optional configuration to initialize the Agenda.
- * @param cb Optional callback called with the MongoDB colleciton.
- */
- constructor(config?: AgendaConfiguration, cb?: ResultCallback);
-
- /**
- * Connect to the specified MongoDB server and database.
- */
- database(url: string, collection?: string, options?: any, cb?: ResultCallback): Agenda;
-
- /**
- * Initialize agenda with an existing MongoDB connection.
- */
- mongo(db: Db, collection?: string, cb?: ResultCallback): Agenda;
-
- /**
- * Sets the agenda name.
- */
- name(value: string): Agenda;
-
- /**
- * Sets the interval with which the queue is checked. A number in milliseconds or a frequency string.
- */
- processEvery(interval: string | number): Agenda;
-
- /**
- * Takes a number which specifies the max number of jobs that can be running at any given moment. By default it
- * is 20.
- * @param value The value to set.
- */
- maxConcurrency(value: number): Agenda;
-
- /**
- * Takes a number which specifies the default number of a specific job that can be running at any given moment.
- * By default it is 5.
- * @param value The value to set.
- */
- defaultConcurrency(value: number): Agenda;
-
- /**
- * Takes a number shich specifies the max number jobs that can be locked at any given moment. By default it is
- * 0 for no max.
- * @param value The value to set.
- */
- lockLimit(value: number): Agenda;
-
- /**
- * Takes a number which specifies the default number of a specific job that can be locked at any given moment.
- * By default it is 0 for no max.
- * @param value The value to set.
- */
- defaultLockLimit(value: number): Agenda;
-
- /**
- * Takes a number which specifies the default lock lifetime in milliseconds. By default it is 10 minutes. This
- * can be overridden by specifying the lockLifetime option to a defined job.
- * @param value The value to set.
- */
- defaultLockLifetime(value: number): Agenda;
-
- /**
- * Returns an instance of a jobName with data. This does NOT save the job in the database. See below to learn
- * how to manually work with jobs.
- * @param name The name of the job.
- * @param data Data to associated with the job.
- */
- create(name: string, data?: any): Job;
-
- /**
- * Find all Jobs matching `query` and pass same back in cb().
- * @param query
- * @param cb
- */
- jobs(query: any, cb: ResultCallback): void;
-
- /**
- * Removes all jobs in the database without defined behaviors. Useful if you change a definition name and want
- * to remove old jobs.
- * @param cb Called with the number of jobs removed.
- */
- purge(cb?: ResultCallback): void;
-
- /**
- * Defines a job with the name of jobName. When a job of job name gets run, it will be passed to fn(job, done).
- * To maintain asynchronous behavior, you must call done() when you are processing the job. If your function is
- * synchronous, you may omit done from the signature.
- * @param name The name of the jobs.
- * @param options The options for the job.
- * @param handler The handler to execute.
- */
- define(name: string, handler: (job?: Job, done?: (err?: Error) => void) => void): void;
- define(name: string, options: JobOptions, handler: (job?: Job, done?: (err?: Error) => void) => void): void;
-
- /**
- * Runs job name at the given interval. Optionally, data and options can be passed in.
- * @param interval Can be a human-readable format String, a cron format String, or a Number.
- * @param names The name or names of the job(s) to run.
- * @param data An optional argument that will be passed to the processing function under job.attrs.data.
- * @param options An optional argument that will be passed to job.repeatEvery.
- * @param cb An optional callback function which will be called when the job has been persisted in the database.
- */
- every(interval: number | string, names: string, data?: any, options?: any, cb?: ResultCallback): Job;
- every(interval: number | string, names: string[], data?: any, options?: any, cb?: ResultCallback): Job[];
-
- /**
- * Schedules a job to run name once at a given time.
- * @param when A Date or a String such as tomorrow at 5pm.
- * @param names The name or names of the job(s) to run.
- * @param data An optional argument that will be passed to the processing function under job.attrs.data.
- * @param cb An optional callback function which will be called when the job has been persisted in the database.
- */
- schedule(when: Date | string, names: string, data?: any, cb?: ResultCallback): Job;
- schedule(when: Date | string, names: string[], data?: any, cb?: ResultCallback): Job[];
-
- /**
- * Schedules a job to run name once immediately.
- * @param name The name of the job to run.
- * @param data An optional argument that will be passed to the processing function under job.attrs.data.
- * @param cb An optional callback function which will be called when the job has been persisted in the database.
- */
- now(name: string, data?: any, cb?: ResultCallback): Job;
-
- /**
- * Cancels any jobs matching the passed mongodb-native query, and removes them from the database.
- * @param query Mongodb native query.
- * @param cb Called with the number of jobs removed.
- */
- cancel(query: any, cb?: ResultCallback): void;
-
- /**
- * Starts the job queue processing, checking processEvery time to see if there are new jobs.
- */
- start(): void;
-
- /**
- * Stops the job queue processing. Unlocks currently running jobs.
- * @param cb Called after the job processing queue shuts down and unlocks all jobs.
- */
- stop(cb: Callback): void;
- }
-
- namespace Agenda {
-
- }
-
- export = Agenda;
-}
diff --git a/agenda/index.d.ts b/agenda/index.d.ts
new file mode 100644
index 0000000000..dc252af65a
--- /dev/null
+++ b/agenda/index.d.ts
@@ -0,0 +1,439 @@
+// Type definitions for Agenda v0.8.9
+// Project: https://github.com/rschmukler/agenda
+// Definitions by: Meir Gottlieb
+// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
+
+///
+
+import {EventEmitter} from "events";
+import {Db, Collection, ObjectID} from "mongodb";
+
+interface Callback {
+ (err?: Error): void;
+}
+
+interface ResultCallback {
+ (err?: Error, result?: T): void;
+}
+
+/**
+ * Agenda Configuration.
+ */
+interface AgendaConfiguration {
+
+ /**
+ * Sets the interval with which the queue is checked. A number in milliseconds or a frequency string.
+ */
+ processEvery?: string | number;
+
+ /**
+ * Takes a number which specifies the default number of a specific job that can be running at any given moment.
+ * By default it is 5.
+ */
+ defaultConcurrency?: number;
+
+ /**
+ * Takes a number which specifies the max number of jobs that can be running at any given moment. By default it
+ * is 20.
+ */
+ maxConcurrency?: number;
+
+ /**
+ * Takes a number which specifies the default number of a specific job that can be locked at any given moment.
+ * By default it is 0 for no max.
+ */
+ defaultLockLimit?: number;
+
+ /**
+ * Takes a number shich specifies the max number jobs that can be locked at any given moment. By default it is
+ * 0 for no max.
+ */
+ lockLimit?: number;
+
+ /**
+ * Takes a number which specifies the default lock lifetime in milliseconds. By default it is 10 minutes. This
+ * can be overridden by specifying the lockLifetime option to a defined job.
+ */
+ defaultLockLifetime?: number;
+
+ /**
+ * Specifies that Agenda should be initialized using and existing MongoDB connection.
+ */
+ mongo?: {
+ /**
+ * The MongoDB database connection to use.
+ */
+ db: Db;
+
+ /**
+ * The name of the collection to use.
+ */
+ collection?: string;
+ }
+
+ /**
+ * Specifies that Agenda should connect to MongoDB.
+ */
+ db?: {
+ /**
+ * The connection URL.
+ */
+ address: string;
+
+ /**
+ * The name of the collection to use.
+ */
+ collection?: string;
+
+ /**
+ * Connection options to pass to MongoDB.
+ */
+ options?: any;
+ }
+}
+
+/**
+ * The database record associated with a job.
+ */
+interface JobAttributes {
+ /**
+ * The record identity.
+ */
+ _id: ObjectID;
+
+ /**
+ * The name of the job.
+ */
+ name: string;
+
+ /**
+ * The type of the job (single|normal).
+ */
+ type: string;
+
+ /**
+ * The job details.
+ */
+ data: { [name: string]: any };
+
+ /**
+ * The priority of the job.
+ */
+ priority: number;
+
+ /**
+ * How often the job is repeated using a human-readable or cron format.
+ */
+ repeatInterval: string | number;
+
+ /**
+ * The timezone that conforms to [moment-timezone](http://momentjs.com/timezone/).
+ */
+ repeatTimezone: string;
+
+ /**
+ * Date/time the job was las modified.
+ */
+ lastModifiedBy: string;
+
+ /**
+ * Date/time the job will run next.
+ */
+ nextRunAt: Date;
+
+ /**
+ * Date/time the job was locked.
+ */
+ lockedAt: Date;
+
+ /**
+ * Date/time the job was last run.
+ */
+ lastRunAt: Date;
+
+ /**
+ * Date/time the job last finished running.
+ */
+ lastFinishedAt: Date;
+
+ /**
+ * The reason the job failed.
+ */
+ failReason: string;
+
+ /**
+ * The number of times the job has failed.
+ */
+ failCount: number;
+
+ /**
+ * The date/time the job last failed.
+ */
+ failedAt: Date;
+}
+
+/**
+ * A scheduled job.
+ */
+interface Job {
+
+ /**
+ * The database record associated with the job.
+ */
+ attrs: JobAttributes;
+
+ /**
+ * Specifies an interval on which the job should repeat.
+ * @param interval A human-readable format String, a cron format String, or a Number.
+ * @param options An optional argument that can include a timezone field. The timezone should be a string as
+ * accepted by moment-timezone and is considered when using an interval in the cron string format.
+ */
+ repeatEvery(interval: string | number, options?: { timezone?: string }): Job
+
+ /**
+ * Specifies a time when the job should repeat. [Possible values](https://github.com/matthewmueller/date#examples).
+ * @param time
+ */
+ repeatAt(time: string): Job
+
+ /**
+ * Disables the job.
+ */
+ disable(): Job;
+
+ /**
+ * Enables the job.
+ */
+ enable(): Job;
+
+ /**
+ * Ensure that only one instance of this job exists with the specified properties
+ * @param value The properties associated with the job that must be unqiue.
+ * @param opts
+ */
+ unique(value: any, opts?: { insertOnly?: boolean }): Job;
+
+ /**
+ * Specifies the next time at which the job should run.
+ * @param time The next time at which the job should run.
+ */
+ schedule(time: string | Date): Job;
+
+ /**
+ * Specifies the priority weighting of the job.
+ * @param value The priority of the job (lowest|low|normal|high|highest|number).
+ */
+ priority(value: string | number): Job;
+
+ /**
+ * Sets job.attrs.failedAt to now, and sets job.attrs.failReason to reason.
+ * @param reason A message or Error object that indicates why the job failed.
+ */
+ fail(reason: string | Error): Job;
+
+ /**
+ * Runs the given job and calls callback(err, job) upon completion. Normally you never need to call this manually
+ * @param cb Called when the job is completed.
+ */
+ run(cb?: ResultCallback): Job;
+
+ /**
+ * Returns true if the job is running; otherwise, returns false.
+ */
+ isRunning(): boolean;
+
+ /**
+ * Saves the job into the database.
+ * @param cb Called when the job is saved.
+ */
+ save(cb?: ResultCallback): Job;
+
+ /**
+ * Removes the job from the database and cancels the job.
+ * @param cb Called after the job has beeb removed from the database.
+ */
+ remove(cb?: Callback): void;
+
+ /**
+ * Resets the lock on the job. Useful to indicate that the job hasn't timed out when you have very long running
+ * jobs.
+ * @param cb Called after the job has been saved to the database.
+ */
+ touch(cb?: Callback): void;
+}
+
+interface JobOptions {
+
+ /**
+ * Maximum number of that job that can be running at once (per instance of agenda)
+ */
+ concurrency?: number;
+
+ /**
+ * Maximum number of that job that can be locked at once (per instance of agenda)
+ */
+ lockLimit?: number;
+
+ /**
+ * Interval in ms of how long the job stays locked for (see multiple job processors for more info). A job will
+ * automatically unlock if done() is called.
+ */
+ lockLifetime?: number;
+
+ /**
+ * (lowest|low|normal|high|highest|number) specifies the priority of the job. Higher priority jobs will run
+ * first.
+ */
+ priority?: string | number;
+}
+
+declare class Agenda extends EventEmitter {
+
+ /**
+ * Constructs a new Agenda object.
+ * @param config Optional configuration to initialize the Agenda.
+ * @param cb Optional callback called with the MongoDB colleciton.
+ */
+ constructor(config?: AgendaConfiguration, cb?: ResultCallback);
+
+ /**
+ * Connect to the specified MongoDB server and database.
+ */
+ database(url: string, collection?: string, options?: any, cb?: ResultCallback): Agenda;
+
+ /**
+ * Initialize agenda with an existing MongoDB connection.
+ */
+ mongo(db: Db, collection?: string, cb?: ResultCallback): Agenda;
+
+ /**
+ * Sets the agenda name.
+ */
+ name(value: string): Agenda;
+
+ /**
+ * Sets the interval with which the queue is checked. A number in milliseconds or a frequency string.
+ */
+ processEvery(interval: string | number): Agenda;
+
+ /**
+ * Takes a number which specifies the max number of jobs that can be running at any given moment. By default it
+ * is 20.
+ * @param value The value to set.
+ */
+ maxConcurrency(value: number): Agenda;
+
+ /**
+ * Takes a number which specifies the default number of a specific job that can be running at any given moment.
+ * By default it is 5.
+ * @param value The value to set.
+ */
+ defaultConcurrency(value: number): Agenda;
+
+ /**
+ * Takes a number shich specifies the max number jobs that can be locked at any given moment. By default it is
+ * 0 for no max.
+ * @param value The value to set.
+ */
+ lockLimit(value: number): Agenda;
+
+ /**
+ * Takes a number which specifies the default number of a specific job that can be locked at any given moment.
+ * By default it is 0 for no max.
+ * @param value The value to set.
+ */
+ defaultLockLimit(value: number): Agenda;
+
+ /**
+ * Takes a number which specifies the default lock lifetime in milliseconds. By default it is 10 minutes. This
+ * can be overridden by specifying the lockLifetime option to a defined job.
+ * @param value The value to set.
+ */
+ defaultLockLifetime(value: number): Agenda;
+
+ /**
+ * Returns an instance of a jobName with data. This does NOT save the job in the database. See below to learn
+ * how to manually work with jobs.
+ * @param name The name of the job.
+ * @param data Data to associated with the job.
+ */
+ create(name: string, data?: any): Job;
+
+ /**
+ * Find all Jobs matching `query` and pass same back in cb().
+ * @param query
+ * @param cb
+ */
+ jobs(query: any, cb: ResultCallback): void;
+
+ /**
+ * Removes all jobs in the database without defined behaviors. Useful if you change a definition name and want
+ * to remove old jobs.
+ * @param cb Called with the number of jobs removed.
+ */
+ purge(cb?: ResultCallback): void;
+
+ /**
+ * Defines a job with the name of jobName. When a job of job name gets run, it will be passed to fn(job, done).
+ * To maintain asynchronous behavior, you must call done() when you are processing the job. If your function is
+ * synchronous, you may omit done from the signature.
+ * @param name The name of the jobs.
+ * @param options The options for the job.
+ * @param handler The handler to execute.
+ */
+ define(name: string, handler: (job?: Job, done?: (err?: Error) => void) => void): void;
+ define(name: string, options: JobOptions, handler: (job?: Job, done?: (err?: Error) => void) => void): void;
+
+ /**
+ * Runs job name at the given interval. Optionally, data and options can be passed in.
+ * @param interval Can be a human-readable format String, a cron format String, or a Number.
+ * @param names The name or names of the job(s) to run.
+ * @param data An optional argument that will be passed to the processing function under job.attrs.data.
+ * @param options An optional argument that will be passed to job.repeatEvery.
+ * @param cb An optional callback function which will be called when the job has been persisted in the database.
+ */
+ every(interval: number | string, names: string, data?: any, options?: any, cb?: ResultCallback): Job;
+ every(interval: number | string, names: string[], data?: any, options?: any, cb?: ResultCallback): Job[];
+
+ /**
+ * Schedules a job to run name once at a given time.
+ * @param when A Date or a String such as tomorrow at 5pm.
+ * @param names The name or names of the job(s) to run.
+ * @param data An optional argument that will be passed to the processing function under job.attrs.data.
+ * @param cb An optional callback function which will be called when the job has been persisted in the database.
+ */
+ schedule(when: Date | string, names: string, data?: any, cb?: ResultCallback): Job;
+ schedule(when: Date | string, names: string[], data?: any, cb?: ResultCallback): Job[];
+
+ /**
+ * Schedules a job to run name once immediately.
+ * @param name The name of the job to run.
+ * @param data An optional argument that will be passed to the processing function under job.attrs.data.
+ * @param cb An optional callback function which will be called when the job has been persisted in the database.
+ */
+ now(name: string, data?: any, cb?: ResultCallback): Job;
+
+ /**
+ * Cancels any jobs matching the passed mongodb-native query, and removes them from the database.
+ * @param query Mongodb native query.
+ * @param cb Called with the number of jobs removed.
+ */
+ cancel(query: any, cb?: ResultCallback): void;
+
+ /**
+ * Starts the job queue processing, checking processEvery time to see if there are new jobs.
+ */
+ start(): void;
+
+ /**
+ * Stops the job queue processing. Unlocks currently running jobs.
+ * @param cb Called after the job processing queue shuts down and unlocks all jobs.
+ */
+ stop(cb: Callback): void;
+}
+
+declare namespace Agenda {
+
+}
+
+export = Agenda;
diff --git a/agenda/tsconfig.json b/agenda/tsconfig.json
new file mode 100644
index 0000000000..bfcc028e47
--- /dev/null
+++ b/agenda/tsconfig.json
@@ -0,0 +1,17 @@
+{
+ "compilerOptions": {
+ "module": "commonjs",
+ "target": "es6",
+ "noImplicitAny": true,
+ "strictNullChecks": false,
+ "baseUrl": "../",
+ "typesSearchPaths": [
+ "../"
+ ],
+ "noEmit": true
+ },
+ "files": [
+ "index.d.ts",
+ "agenda-tests.ts"
+ ]
+}
\ No newline at end of file
diff --git a/alertify/alertify-tests.ts b/alertify/alertify-tests.ts
index 9f6c0cd860..61903e86ff 100644
--- a/alertify/alertify-tests.ts
+++ b/alertify/alertify-tests.ts
@@ -1,4 +1,4 @@
-///
+
alertify.init();
diff --git a/alertify/alertify.d.ts b/alertify/index.d.ts
similarity index 100%
rename from alertify/alertify.d.ts
rename to alertify/index.d.ts
diff --git a/alertify/tsconfig.json b/alertify/tsconfig.json
new file mode 100644
index 0000000000..c45376926c
--- /dev/null
+++ b/alertify/tsconfig.json
@@ -0,0 +1,17 @@
+{
+ "compilerOptions": {
+ "module": "commonjs",
+ "target": "es6",
+ "noImplicitAny": true,
+ "strictNullChecks": false,
+ "baseUrl": "../",
+ "typesSearchPaths": [
+ "../"
+ ],
+ "noEmit": true
+ },
+ "files": [
+ "index.d.ts",
+ "alertify-tests.ts"
+ ]
+}
\ No newline at end of file
diff --git a/alt/alt-tests.ts b/alt/alt-tests.ts
index fad079b020..8d1108ada3 100644
--- a/alt/alt-tests.ts
+++ b/alt/alt-tests.ts
@@ -1,8 +1,6 @@
/**
* Created by shearerbeard on 6/28/15.
*/
-///
-
import Alt = require("alt");
//New alt instance
@@ -74,7 +72,7 @@ var testSource:AltJS.Source = {
remote() {
return new Promise((res:any, rej:any) => {
setTimeout(() => {
- if(true) {
+ if(!!true) {
res("stuff");
} else {
rej("Things have broken");
diff --git a/alt/alt.d.ts b/alt/alt.d.ts
deleted file mode 100644
index 20da159f35..0000000000
--- a/alt/alt.d.ts
+++ /dev/null
@@ -1,166 +0,0 @@
-// Type definitions for Alt 0.16.10
-// Project: https://github.com/goatslacker/alt
-// Definitions by: Michael Shearer
-// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
-
-///
-
-declare namespace AltJS {
-
- interface StoreReduce {
- action:any;
- data: any;
- }
-
- export interface StoreModel {
- //Actions
- bindAction?( action:Action, handler:ActionHandler):void;
- bindActions?(actions:ActionsClass):void;
-
- //Methods/Listeners
- exportPublicMethods?(exportConfig:any):void;
- bindListeners?(config:{[methodName:string]:Action | Actions}):void;
- exportAsync?(source:Source):void;
- registerAsync?(datasource:Source):void;
-
- //state
- setState?(state:S):void;
- setState?(stateFn:(currentState:S, nextState:S) => S):void;
- getState?():S;
- waitFor?(store:AltStore):void;
-
- //events
- onSerialize?(fn:(data:any) => any):void;
- onDeserialize?(fn:(data:any) => any):void;
- on?(event:AltJS.lifeCycleEvents, callback:() => any):void;
- emitChange?():void;
- waitFor?(storeOrStores:AltStore | Array>):void;
- otherwise?(data:any, action:AltJS.Action):void;
- observe?(alt:Alt):any;
- reduce?(state:any, config:StoreReduce):Object;
- preventDefault?():void;
- afterEach?(payload:Object, state:Object):void;
- beforeEach?(payload:Object, state:Object):void;
- // TODO: Embed dispatcher interface in def
- dispatcher?:any;
-
- //instance
- getInstance?():AltJS.AltStore;
- alt?:Alt;
- displayName?:string;
- }
-
- export type Source = {[name:string]: () => SourceModel};
-
- export interface SourceModel {
- local(state:any):any;
- remote(state:any):Promise;
- shouldFetch?(fetchFn:(...args:Array) => boolean):void;
- loading?:(args:any) => void;
- success?:(state:S) => void;
- error?:(args:any) => void;
- interceptResponse?(response:any, action:Action, ...args:Array):any;
- }
-
- export interface AltStore {
- getState():S;
- listen(handler:(state:S) => any):() => void;
- unlisten(handler:(state:S) => any):void;
- emitChange():void;
- }
-
- export enum lifeCycleEvents {
- bootstrap,
- snapshot,
- init,
- rollback,
- error
- }
-
- export type Actions = {[action:string]:Action};
-
- export interface Action {
- ( args:T):void;
- defer(data:any):void;
- }
-
- export interface ActionsClass {
- generateActions?( ...action:Array):void;
- dispatch( ...payload:Array):void;
- actions?:Actions;
- }
-
- type StateTransform = (store:StoreModel) => AltJS.AltStore;
-
- interface AltConfig {
- dispatcher?:any;
- serialize?:(serializeFn:(data:Object) => string) => void;
- deserialize?:(deserializeFn:(serialData:string) => Object) => void;
- storeTransforms?:Array;
- batchingFunction?:(callback:( ...data:Array) => any) => void;
- }
-
- class Alt {
- constructor(config?:AltConfig);
- actions:Actions;
- bootstrap(jsonData:string):void;
- takeSnapshot( ...storeNames:Array):string;
- flush():Object;
- recycle( ...stores:Array>):void;
- rollback():void;
- dispatch(action?:AltJS.Action, data?:Object, details?:any):void;
-
- //Actions methods
- addActions(actionsName:string, ActionsClass: ActionsClassConstructor):void;
- createActions(ActionsClass: ActionsClassConstructor, exportObj?: Object):T;
- createActions(ActionsClass: ActionsClassConstructor, exportObj?: Object, ...constructorArgs:Array):T;
- generateActions( ...actions:Array):T;
- getActions(actionsName:string):AltJS.Actions;
-
- //Stores methods
- addStore(name:string, store:StoreModel, saveStore?:boolean):void;
- createStore(store:StoreModel, name?:string):AltJS.AltStore;
- getStore(name:string):AltJS.AltStore;
- }
-
- export interface AltFactory {
- new(config?:AltConfig):Alt;
- }
-
- type ActionsClassConstructor = new (alt:Alt) => AltJS.ActionsClass;
-
- type ActionHandler = ( ...data:Array) => any;
- type ExportConfig = {[key:string]:(...args:Array) => any};
-}
-
-declare module "alt/utils/chromeDebug" {
- function chromeDebug(alt:AltJS.Alt):void;
- export = chromeDebug;
-}
-
-declare module "alt/AltContainer" {
-
- import React = require("react");
-
- interface ContainerProps {
- store?:AltJS.AltStore;
- stores?:Array>;
- inject?:{[key:string]:any};
- actions?:{[key:string]:Object};
- render?:(...props:Array) => React.ReactElement;
- flux?:AltJS.Alt;
- transform?:(store:AltJS.AltStore, actions:any) => any;
- shouldComponentUpdate?:(props:any) => boolean;
- component?:React.Component;
- }
-
- type AltContainer = React.ReactElement;
- var AltContainer:React.ComponentClass;
-
- export = AltContainer;
-}
-
-declare module "alt" {
- var alt:AltJS.AltFactory;
- export = alt;
-}
diff --git a/alt/index.d.ts b/alt/index.d.ts
new file mode 100644
index 0000000000..1e084131a0
--- /dev/null
+++ b/alt/index.d.ts
@@ -0,0 +1,166 @@
+// Type definitions for Alt 0.16.10
+// Project: https://github.com/goatslacker/alt
+// Definitions by: Michael Shearer
+// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
+
+///
+
+declare namespace AltJS {
+
+ interface StoreReduce {
+ action:any;
+ data: any;
+ }
+
+ export interface StoreModel {
+ //Actions
+ bindAction?( action:Action, handler:ActionHandler):void;
+ bindActions?(actions:ActionsClass):void;
+
+ //Methods/Listeners
+ exportPublicMethods?(exportConfig:any):void;
+ bindListeners?(config:{[methodName:string]:Action | Actions}):void;
+ exportAsync?(source:Source):void;
+ registerAsync?(datasource:Source):void;
+
+ //state
+ setState?(state:S):void;
+ setState?(stateFn:(currentState:S, nextState:S) => S):void;
+ getState?():S;
+ waitFor?(store:AltStore):void;
+
+ //events
+ onSerialize?(fn:(data:any) => any):void;
+ onDeserialize?(fn:(data:any) => any):void;
+ on?(event:AltJS.lifeCycleEvents, callback:() => any):void;
+ emitChange?():void;
+ waitFor?(storeOrStores:AltStore | Array>):void;
+ otherwise?(data:any, action:AltJS.Action):void;
+ observe?(alt:Alt):any;
+ reduce?(state:any, config:StoreReduce):Object;
+ preventDefault?():void;
+ afterEach?(payload:Object, state:Object):void;
+ beforeEach?(payload:Object, state:Object):void;
+ // TODO: Embed dispatcher interface in def
+ dispatcher?:any;
+
+ //instance
+ getInstance?():AltJS.AltStore;
+ alt?:Alt;
+ displayName?:string;
+ }
+
+ export type Source = {[name:string]: () => SourceModel};
+
+ export interface SourceModel {
+ local(state:any):any;
+ remote(state:any):Promise;
+ shouldFetch?(fetchFn:(...args:Array) => boolean):void;
+ loading?:(args:any) => void;
+ success?:(state:S) => void;
+ error?:(args:any) => void;
+ interceptResponse?(response:any, action:Action, ...args:Array):any;
+ }
+
+ export interface AltStore {
+ getState():S;
+ listen(handler:(state:S) => any):() => void;
+ unlisten(handler:(state:S) => any):void;
+ emitChange():void;
+ }
+
+ export enum lifeCycleEvents {
+ bootstrap,
+ snapshot,
+ init,
+ rollback,
+ error
+ }
+
+ export type Actions = {[action:string]:Action};
+
+ export interface Action {
+ ( args:T):void;
+ defer(data:any):void;
+ }
+
+ export interface ActionsClass {
+ generateActions?( ...action:Array):void;
+ dispatch( ...payload:Array):void;
+ actions?:Actions;
+ }
+
+ type StateTransform = (store:StoreModel) => AltJS.AltStore;
+
+ interface AltConfig {
+ dispatcher?:any;
+ serialize?:(serializeFn:(data:Object) => string) => void;
+ deserialize?:(deserializeFn:(serialData:string) => Object) => void;
+ storeTransforms?:Array;
+ batchingFunction?:(callback:( ...data:Array) => any) => void;
+ }
+
+ class Alt {
+ constructor(config?:AltConfig);
+ actions:Actions;
+ bootstrap(jsonData:string):void;
+ takeSnapshot( ...storeNames:Array):string;
+ flush():Object;
+ recycle( ...stores:Array>):void;
+ rollback():void;
+ dispatch(action?:AltJS.Action, data?:Object, details?:any):void;
+
+ //Actions methods
+ addActions(actionsName:string, ActionsClass: ActionsClassConstructor):void;
+ createActions(ActionsClass: ActionsClassConstructor, exportObj?: Object):T;
+ createActions(ActionsClass: ActionsClassConstructor, exportObj?: Object, ...constructorArgs:Array):T;
+ generateActions( ...actions:Array):T;
+ getActions(actionsName:string):AltJS.Actions;
+
+ //Stores methods
+ addStore(name:string, store:StoreModel, saveStore?:boolean):void;
+ createStore(store:StoreModel, name?:string):AltJS.AltStore;
+ getStore(name:string):AltJS.AltStore;
+ }
+
+ export interface AltFactory {
+ new(config?:AltConfig):Alt;
+ }
+
+ type ActionsClassConstructor = new (alt:Alt) => AltJS.ActionsClass;
+
+ type ActionHandler = ( ...data:Array) => any;
+ type ExportConfig = {[key:string]:(...args:Array) => any};
+}
+
+declare module "alt/utils/chromeDebug" {
+ function chromeDebug(alt:AltJS.Alt):void;
+ export = chromeDebug;
+}
+
+declare module "alt/AltContainer" {
+
+ import React = require("react");
+
+ interface ContainerProps {
+ store?:AltJS.AltStore;
+ stores?:Array>;
+ inject?:{[key:string]:any};
+ actions?:{[key:string]:Object};
+ render?:(...props:Array) => React.ReactElement;
+ flux?:AltJS.Alt;
+ transform?:(store:AltJS.AltStore, actions:any) => any;
+ shouldComponentUpdate?:(props:any) => boolean;
+ component?:React.Component;
+ }
+
+ type AltContainer = React.ReactElement;
+ var AltContainer:React.ComponentClass;
+
+ export = AltContainer;
+}
+
+declare module "alt" {
+ var alt:AltJS.AltFactory;
+ export = alt;
+}
diff --git a/alt/tsconfig.json b/alt/tsconfig.json
new file mode 100644
index 0000000000..1587b6ba1a
--- /dev/null
+++ b/alt/tsconfig.json
@@ -0,0 +1,17 @@
+{
+ "compilerOptions": {
+ "module": "commonjs",
+ "target": "es6",
+ "noImplicitAny": true,
+ "strictNullChecks": false,
+ "baseUrl": "../",
+ "typesSearchPaths": [
+ "../"
+ ],
+ "noEmit": true
+ },
+ "files": [
+ "index.d.ts",
+ "alt-tests.ts"
+ ]
+}
\ No newline at end of file
diff --git a/amazon-product-api/amazon-product-api-tests.ts b/amazon-product-api/amazon-product-api-tests.ts
index b98e15710f..e173d76f36 100644
--- a/amazon-product-api/amazon-product-api-tests.ts
+++ b/amazon-product-api/amazon-product-api-tests.ts
@@ -1,5 +1,5 @@
-///
-///
+
+///
import amazon = require('amazon-product-api');
diff --git a/amazon-product-api/amazon-product-api.d.ts b/amazon-product-api/amazon-product-api.d.ts
deleted file mode 100644
index f7ccf905e5..0000000000
--- a/amazon-product-api/amazon-product-api.d.ts
+++ /dev/null
@@ -1,25 +0,0 @@
-// Type definitions for amazon-product-api
-// Project: https://github.com/t3chnoboy/amazon-product-api
-// Definitions by: Matti Lehtinen
-// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
-
-declare module "amazon-product-api" {
-
- interface ICredentials {
- awsId: string,
- awsSecret: string,
- awsTag: string
- }
-
- interface IAmazonProductQueryCallback {
- (err: string, results: Object[]): void;
- }
-
- interface IAmazonProductClient {
- itemSearch(query: any, callback?: IAmazonProductQueryCallback) : Promise