Andy
ae4fe7b6de
Use "lib" in tsconfigs instead of "target". ( #13968 )
...
* Use "lib" in tsconfigs instead of "target".
Only add "dom" to libraries that need it. This is determined by a script, so many libraries that have "dom" maybe should not.
* Update new-package and readme
* Add back "target" where necessary
2017-01-18 07:51:51 -08:00
Andy
2f71174636
Restructure to support old versions ( #13811 )
...
* Restructure to support old versions
* Fix tests
2017-01-06 12:36:57 -08:00
Andy
3d6a15ee16
Strip BOM from all files ( #13735 )
2017-01-04 12:07:53 -08:00
Andy
a4bd9fa3c1
Add "noImplicitThis" to all tsconfig.json ( #13446 )
...
* Add "noImplicitThis" to all tsconfig.json
* Use `"noImplicitThis": false` on packages with broken tests.
2016-12-19 14:11:46 -08:00
Rogier Schouten
12b8c644f1
Add Leadfoot typings ( #11733 )
...
* Remove global pollution to allow Node.JS and Leadfoot to be included together (Leadfoot uses a part of Dojo but not the conflicting globals). Add Thenable to support Leadfoot typings.
* Add leadfoot typings and initial tests.
* Remove ... references from tsconfig
2016-11-06 07:52:38 -08:00
Andries Smit
1d5fbba4fa
Add reference type to dojo in dijit
2016-10-11 17:09:57 +02:00
Andries Smit
74aaaad1ad
Include dijit to tsconfig
...
When using new npm install @types/dojo the dijit file was missing.
2016-10-11 16:10:45 +02:00
zhengbli
c2a54db3e9
Merge branch 'master' into types-2.0
...
# Conflicts:
# amcharts/AmCharts.d.ts
# angular-gettext/angular-gettext.d.ts
# angular-jwt/angular-jwt.d.ts
# angular-material/angular-material.d.ts
# angularjs/angular.d.ts
# auth0-js/auth0-js.d.ts
# aws-lambda/aws-lambda.d.ts
# aws-sdk/aws-sdk.d.ts
# azure-mobile-apps/azure-mobile-apps.d.ts
# azure-mobile-services-client/AzureMobileServicesClient.d.ts
# blessed/blessed-tests.ts
# blessed/blessed.d.ts
# bootbox/bootbox.d.ts
# bowser/bowser.d.ts
# cache-manager/cache-manager.d.ts
# chai-things/chai-things.d.ts
# colors/colors.d.ts
# cordova/cordova-tests.ts
# cordova/plugins/Contacts.d.ts
# cordova/plugins/FileSystem.d.ts
# couchbase/couchbase.d.ts
# cucumber/cucumber-tests.ts
# cucumber/cucumber.d.ts
# d3/d3.d.ts
# dojo/dojo.d.ts
# dustjs-linkedin/dustjs-linkedin.d.ts
# esprima/esprima.d.ts
# express-serve-static-core/express-serve-static-core.d.ts
# express-session/express-session.d.ts
# fetch-mock/fetch-mock.d.ts
# fs-extra/fs-extra.d.ts
# fullCalendar/fullCalendar.d.ts
# github-electron/github-electron.d.ts
# gulp-uglify/gulp-uglify.d.ts
# gulp/gulp.d.ts
# highcharts/highcharts.d.ts
# imap/imap.d.ts
# incremental-dom/incremental-dom.d.ts
# inversify/inversify.d.ts
# ionic/ionic.d.ts
# ioredis/ioredis.d.ts
# isomorphic-fetch/isomorphic-fetch-tests.ts
# jake/jake.d.ts
# joi/joi.d.ts
# jquery-mockjax/jquery-mockjax.d.ts
# jquery/jquery.d.ts
# js-data-http/js-data-http-tests.ts
# js-data-http/js-data-http.d.ts
# js-data/js-data.d.ts
# jsdom/jsdom.d.ts
# jsts/jsts-tests.ts
# knex/knex.d.ts
# koa-favicon/koa-favicon.d.ts
# koa-router/koa-router-tests.ts
# koa-router/koa-router.d.ts
# lodash/lodash.d.ts
# mailparser/mailparser.d.ts
# maquette/maquette.d.ts
# material-ui/material-ui.d.ts
# matter-js/matter-js.d.ts
# moment/moment.d.ts
# mongoose-promise/mongoose-promise-tests.ts
# mongoose/mongoose-tests.ts
# mongoose/mongoose.d.ts
# multer/multer.d.ts
# ncp/ncp.d.ts
# nock/nock.d.ts
# node/node-tests.ts
# node/node.d.ts
# nvd3/nvd3.d.ts
# object-assign/object-assign.d.ts
# openlayers/openlayers.d.ts
# parse/parse.d.ts
# pdf/pdf.d.ts
# pdfkit/pdfkit.d.ts
# pg/pg.d.ts
# pixi.js/pixi.js.d.ts
# progress/progress.d.ts
# pusher-js/pusher-js.d.ts
# quill/quill-tests.ts
# quill/quill.d.ts
# radium/radium.d.ts
# ravenjs/ravenjs-tests.ts
# react-dropzone/react-dropzone.d.ts
# react-mdl/react-mdl.d.ts
# react-native/react-native.d.ts
# react-notification-system/react-notification-system.d.ts
# react-router/history-tests.ts
# react-router/react-router-tests.tsx
# react-router/react-router.d.ts
# react-select/react-select-tests.tsx
# react-select/react-select.d.ts
# react/react.d.ts
# redux-form/redux-form.d.ts
# request-promise/request-promise.d.ts
# resolve-from/resolve-from.d.ts
# riot-api-nodejs/riot-api-nodejs.d.ts
# sanitize-html/sanitize-html.d.ts
# segment-analytics/segment-analytics.d.ts
# simple-assign/simple-assign-tests.ts
# simple-assign/simple-assign.d.ts
# slate-irc/slate-irc.d.ts
# soap/soap.d.ts
# socket.io/socket.io.d.ts
# sql.js/sql.js-tests.ts
# sql.js/sql.js.d.ts
# steam/steam.d.ts
# stylus/stylus.d.ts
# swiper/swiper.d.ts
# tedious/tedious.d.ts
# threejs/three.d.ts
# twilio/twilio.d.ts
# underscore/underscore.d.ts
# ws/ws.d.ts
# yeoman-generator/yeoman-generator.d.ts
2016-09-14 18:44:24 -07:00
Michael McKenzie
14c74ee373
Changing dojo/_base/lang mixin signature to match documentation ( #10991 )
...
* adding multiple signatures
* update
2016-09-07 20:15:43 +09:00
Ryan Cavanaugh
f55497c988
Merge remote-tracking branch 'upstream/master' into merge_7_25
...
# Conflicts:
# convict/convict.d.ts
# multer/multer.d.ts
# nodemailer/nodemailer.d.ts
# react-bootstrap-table/react-bootstrap-table.d.ts
# react-dnd/react-dnd-tests.ts
# react-native/index.d.ts
# request/request.d.ts
# restify/index.d.ts
# webpack/webpack.d.ts
# ws/ws.d.ts
2016-07-27 16:12:49 -07:00
Ryan Cavanaugh
b488f3cb5f
Merge remote-tracking branch 'upstream/master' into merge_7_25
2016-07-27 10:57:46 -07:00
Ryan Cavanaugh
e4421f5ebe
Merge commit 'upstream/master~650' into merge_7_25
2016-07-25 23:49:05 -07:00
Michael McKenzie
3a1cb0f565
Changing dojo/_base/lang mixin signature to match documentation
2016-07-25 14:20:13 +01:00
Michael McKenzie
88992f2e32
Changing djit.Destroyable.own signature to match documentation and implementation ( #10219 )
...
* Changing hitch signature to match documentation
* Changing hitch signature to match documentation
* Changing dojo/_base/lang mixin signature to match documentation
* Revert "Changing dojo/_base/lang mixin signature to match documentation"
This reverts commit cdfb764333 .
* Changing djit.Destroyable.own signature to match documentation and implmentation
2016-07-23 23:31:10 -07:00
Michael McKenzie
4be5e34492
Changing djit.Destroyable.own signature to match documentation and implmentation
2016-07-21 14:26:28 +01:00
Michael McKenzie
0115fd3dff
Changing hitch signature to match documentation ( #10183 )
...
* Changing hitch signature to match documentation
* Changing hitch signature to match documentation
* Changing dojo/_base/lang mixin signature to match documentation
* Revert "Changing dojo/_base/lang mixin signature to match documentation"
This reverts commit cdfb764333 .
2016-07-19 23:40:31 -07:00
Michael McKenzie
9330e50727
Revert "Changing dojo/_base/lang mixin signature to match documentation"
...
This reverts commit cdfb764333 .
2016-07-19 11:46:37 +01:00
Michael McKenzie
cdfb764333
Changing dojo/_base/lang mixin signature to match documentation
2016-07-19 11:40:06 +01:00
Michael McKenzie
5cca8b39b9
Changing hitch signature to match documentation
2016-07-19 11:16:55 +01:00
Michael McKenzie
e0fdec2205
Changing hitch signature to match documentation
2016-07-19 09:57:58 +01:00
Ryan Cavanaugh
a5f4d50ccc
Fix tsconfig files for new option name / behavior.
...
Also fixes some inconsistent whitespace.
2016-07-12 13:54:56 -07:00
Mohamed Hegazy
a36070aeff
Make sure __Promise properly extends dojo.promise.Promise<any> under --strictNullChecks
2016-07-07 15:16:36 -07:00
Raghav Katyal
395c4e1639
Turning on consistent casing flag and fixing failures
2016-06-30 15:14:49 -07:00
Ian Firkin
8f68f8cd4b
Dojo xhr ( #9339 )
...
* Makes xhr return a promise instead of void
Xhr takes an argument which determines it's return type--either
Promise (the default) or Deferred. Currently in the type definitions,
it returns void.
I've also commented out the "helper" methods (get, post, etc.), to
match the source code--they're commented out there as well.
* Comments out entire interface body
Removes the entire interface with helper methods.
* Adds back "helper" methods to xhr
This methods are included via the `util.addCommonMethods` call, and
so should be in the type definitions.
2016-05-21 08:19:17 -07:00
Ryan Cavanaugh
bfd400a8f8
Add noEmit to all config files
2016-05-10 12:24:49 -07:00
Ryan Cavanaugh
e808e8e062
Remove unneeded references
2016-05-10 12:22:25 -07:00
Ryan Cavanaugh
50387d4046
Change relative reference paths to types references. Errors incoming...
2016-05-09 18:06:27 -07:00
Ryan Cavanaugh
49b1ac6a38
Rename all entry points to index.d.ts and explicitify all file lists
2016-05-09 17:29:10 -07:00
Ryan Cavanaugh
ab2b4191c5
Add typesRoot to all config files
2016-05-09 13:52:25 -07:00
Ryan Cavanaugh
ded70421be
Turn off strict null checks
2016-05-04 15:08:38 -07:00
Ryan Cavanaugh
69d1929d8a
Add tsconfig.json files
2016-05-04 14:14:39 -07:00
Ryan Cavanaugh
e7c111c4b7
Merge remote-tracking branch 'upstream/master' into types2.0
...
Add tsconfig files everywhere
# Conflicts:
# azure-mobile-services-client/AzureMobileServicesClient.d.ts
# bookshelf/bookshelf.d.ts
# hapi/hapi.d.ts
# helmet/helmet.d.ts
# mongodb/mongodb.d.ts
# nock/nock.d.ts
# react-bootstrap/react-bootstrap.d.ts
# react-helmet/react-helmet.d.ts
# restify/restify.d.ts
# sequelize/sequelize.d.ts
2016-04-27 20:40:21 -07:00
vvakame
7de6c3dd94
Merge branch 'master' into rename-repo-url
2016-03-17 21:06:54 +09:00
vvakame
14fe4313f4
replace internal module to namespace
2016-03-17 02:18:10 +09:00
vvakame
56295f5058
replace https://github.com/borisyankov/DefinitelyTyped to https://github.com/DefinitelyTyped/DefinitelyTyped
2016-03-17 00:55:26 +09:00
Andries Smit
029e5c9042
Set optional parameters
...
Based on the @param documentation, some parameters were set to be
optional.
2015-11-09 19:07:06 +01:00
Andries Smit
2b79cadae3
Set optional parameters
...
Based on the @param documentation, some parameters were set to be
optional.
2015-11-09 18:05:08 +01:00
vvakame
90fc77392f
fix dojo/dojox.widget.d.ts
2015-07-19 16:42:32 +09:00
jandic
ad48ff6620
dojo/query - fixed incorrect return type
...
Return type updated as per documentation:
http://dojotoolkit.org/reference-guide/1.10/dojo/query.html
2015-07-03 13:00:13 +02:00
jandic
95eac2d4ed
Fixed compilation issue
2015-05-22 15:46:23 +02:00
jandic
fcec5c6857
Fixed - Parameters made optional
...
Some parameters were mandatory while they were supposed to be optional
2015-05-22 15:25:46 +02:00
jandic
c18e95ed4f
Changed return type for registry.byId()
2015-05-13 19:15:07 +02:00
Anatoly Bakirov
5ffefe5a1a
Invalid use of 'arguments'. Class definitions are automatically in strict mode.
2015-05-07 22:25:47 -07:00
Anatoly Bakirov
d47d0b7b5e
Make Promise generic
2015-04-10 17:28:16 -07:00
Heiko Heijenga
93dd2e916d
Fixed bad character
2015-02-26 14:34:51 -08:00
Masahiro Wakame
682b016021
Merge pull request #3342 from vansimke/master
...
Update dojo type definitions
2014-12-19 23:17:01 +09:00
Mike Van Sickle
fdc427f155
Added header to dojo.d.ts
2014-12-18 07:41:24 -05:00
Mike Van Sickle
f3c5f1bc1c
Additional corrections to type definitions
2014-12-17 15:53:49 -05:00
Mike Van Sickle
4c970c4251
Updated type definitions
2014-12-15 14:41:18 -05:00
Michael Van Sickle
5ec286307a
Updated dojo/README.md
2014-12-12 19:48:59 -05:00