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
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
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
David Poetzsch-Heffter
5c82604617
SendOptions for parse push on new parse-server need the useMasterKey flag to work ( #10962 )
2016-09-06 23:15:33 +09:00
Paul van Brenk
5607f54def
Merge master into typings-2.0
...
* Changed Files
2016-08-18 14:53:30 -07:00
David Poetzsch-Heffter
e75095f1fd
made sessionToken option available for all db operations (needed for cloud code in self-hosted parse-server)
2016-08-16 19:02:50 +02: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
Birk Skyum
a3359b33ec
Fix export issues in parse.d.ts
...
In node: Module '"parse/node"' resolves to a non-module entity and cannot be imported using this construct.
In browser: Module '"parse"' resolves to a non-module entity and cannot be imported using this construct.
Parse can now be imported like:
import * as Parse from 'parse/node'
2016-07-24 13:38:20 +02:00
Birk Skyum
96034d863b
Update parse.d.ts ( #10249 )
...
Alter options for Cloud.run and Query.each
2016-07-23 22:47:59 -07:00
David Poetzsch-Heffter
71f47713ff
Parse fixes ( #9987 )
...
* Added overriden version of extend in Parse.User
* added type declaration of Parse.Promise.when with varargs
* making Promise compatible with IPromise
* fixed when: it is enough to have IPromise here
* added Parse.Config class
* fixed save/saveAll signatures
* any object is allowed as function response
* more precise signature for Parse.Object#find
* request has a property object in beforeSave triggers
* fixed types of trigger request & response objects
* better fetch signatures
* fixed typing for JobStatus
* ErrorCode enum needs to be inlined in order to not create a dependency on the type definition
* fixed return types of Parse.Promise#then
* fixed typing of Parse.Promise.error
* added static function Object.registerSubclass
* fixed signature of Object#save
* removed wrongly typed signatures; User inherits the correcrt ones from Object
* added signature for Object#createAt and Object#updatedAt
* javaScriptKey is optional according to https://github.com/ParsePlatform/Parse-SDK-JS/blob/v1.8.5/src/Parse.js
* added class Session with methods typed according to https://parse.com/docs/js/api/classes/Parse.Session.html
2016-07-23 19:45:08 -07: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
Raghav Katyal
395c4e1639
Turning on consistent casing flag and fixing failures
2016-06-30 15:14:49 -07:00
Ryan Cavanaugh
e105eabd48
Remove invalid references
2016-05-10 16:27:59 -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
9300d8ac49
Zero errors!
2016-05-09 11:02:48 -07:00
Ryan Cavanaugh
4886a6ac95
Keep on fixin'
2016-05-05 17:04:52 -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
56295f5058
replace https://github.com/borisyankov/DefinitelyTyped to https://github.com/DefinitelyTyped/DefinitelyTyped
2016-03-17 00:55:26 +09:00
Egist Li
08e10d1681
Export parse/node module for nodejs
2015-10-07 13:15:32 +08:00
Egist Li
d1d459b7e5
Add generics types on as/error method
2015-10-07 13:11:14 +08:00
Egist Li
d5a8570c0b
Change Parse.Promise to be a class
...
Also update is, error, as and when method to be static method with corresponding arguments.
2015-10-06 18:31:37 +08:00
Daniel Rosenwasser
52d4af6fdc
Merge branch 'handleExtraObjectLiteralProperties' of https://github.com/DanielRosenwasser/DefinitelyTyped into handleExtraObjectLiteralProperties
2015-08-25 12:22:15 -07:00
Daniel Rosenwasser
50f7b715e9
Add missing 'params' property to 'parse'.
2015-08-25 12:22:04 -07:00
Daniel Rosenwasser
96281f1a1c
Merge branch 'master' into handleExtraObjectLiteralProperties
...
Conflicts:
parse/parse.d.ts
2015-08-25 10:31:49 -07:00
Daniel Rosenwasser
1ba21f73e4
'BackboneStyleOptions' -> 'SuccessFailureOptions' in 'parse'.
2015-08-24 16:03:03 -07:00
Daniel Rosenwasser
a662c2649a
Use 'let' instead of 'var' in definitions for 'parse'.
2015-08-24 12:24:24 -07:00
Daniel Rosenwasser
3f66eb02db
Use 'namespace' keyword in 'parse'.
2015-08-21 13:09:08 -07:00
Daniel Rosenwasser
e4eed4a208
Encapsulated interfaces, made typings more precise according to documentation, removed 'ParseDefaultOptions' in 'parse'.
2015-08-21 13:07:36 -07:00
John Palgut
e48415a72d
Add a type definition for HTTPOptions
...
The method [Parse.Cloud.httpRequest](https://parse.com/docs/js/api/symbols/Parse.Cloud.html#.httpRequest ) takes a [HTTPOptions](https://parse.com/docs/js/api/symbols/Parse.Cloud.HTTPOptions.html ) options object and not a ParseDefaultOptions object. I've included an initial interface definition for HTTPOptions and updated the httpRequest method definition to match
2015-08-20 15:23:11 -05:00
AbeHaruhiko
128121aa80
Update parse/parse-tests.ts
2015-06-13 22:45:59 +09:00
AbeHaruhiko
4db5c10489
Update parse/parse.d.ts
2015-06-13 16:29:15 +09:00
Abe Haruhiko
0b7ba6010e
Update parse/parse.d.ts
2015-06-13 16:17:47 +09:00
campers
ce539b1cd0
Update parse.d.ts
...
Remove duplicate FILE_DELETE_ERROR, (keep in code numeric order)
2015-05-11 14:17:24 +08:00
campers
9d7073f572
Update parse.d.ts
...
Add additional error codes
2015-05-06 16:13:45 +08:00
Alexander Fridlund
6632c96b2f
Added missing static properties on destroyAll and saveAll for Parse.Object
2014-11-20 15:30:55 +01:00
Earl Ferguson
32bfad140f
Header cleanup
2014-09-03 17:08:59 -04:00
Earl Ferguson
577175844d
Bug fixes after running tests
2014-09-03 16:59:24 -04:00
Earl Ferguson
f43c2d163a
Cleaning up test
2014-09-03 16:16:54 -04:00
Earl Ferguson
6e0bae985d
Added Parse SDK Definition
2014-09-03 16:04:51 -04:00