Commit Graph

222 Commits

Author SHA1 Message Date
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
76a710cc94 Rename test files to be consistent (#13882) 2017-01-10 06:33:06 -08:00
Andy
94d2cd4a7a Merge pull request #13659 from eejdoowad/master
[chrome] Fixed type of Port disconnect listener
2017-01-05 14:30:18 -08:00
eejdoowad
433a6c5044 changed tabs to spaces 2017-01-05 17:23:30 -05:00
Andy
3d6a15ee16 Strip BOM from all files (#13735) 2017-01-04 12:07:53 -08:00
eejdoowad
ee9aae2daf Fixed type of Port disconnect listener 2016-12-31 17:00:20 -06:00
Andy Hanson
2e869dbdc0 Merge branch 'types-2.0' into merge_28dec 2016-12-28 12:38:06 -08:00
Ian Copp
7aa967b4ae Update chrome.sockets.udp and chrome.sockets.tcpServer in chrome package (#13289)
* Update chrome.sockets.udp

* Update chrome.sockets.tcpServer
2016-12-25 05:05:41 +09: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
Andy
c968762595 Merge 'master' to 'types-2.0' one last time (#13277)
* Added missing nconf.required(keys) and Provider.required(keys) methods.

* update to 4.7.0, add querycursor.map() and schema.loadClass()

* add error callback for schema.post()

* Added playsInline property as introduced in React 15.3.2

* Add definitions for redux-localstorage and main enhancers (#12580)

* Add definitions for redux-localstorage

* Add definitions for redux-localstorage-filter enhancer

* Add definitions for redux-localstorage-debounce enhancer

* csurf.d.ts relying on CookieOptions from express

It seems express no longer exports `CookieOptions`, we need to import `express-serve-static-core` instead.

* Added height property to IDialogOptions

* versionKey type

* kendo-ui: mark toString() params as optional (#13164)

These function parameters are optional according to the upstream
docs, e.g.
  http://docs.telerik.com/kendo-ui/api/javascript/geometry/matrix#methods-toString

* Ensure that zoneAbbr and zoneName are expected type (string).

* Update moment-timezone.d.ts

* Fix syntax error in interact.d.ts

A parameter name was missing making TypeScript compiler fail.

* adding type for move to fs-extra

* fixing signature of sinon/alwaysReturned based on the http://sinonjs.org/docs/#sinonspy

* increasing version number

* returning back the version number to the origin number

* reversing changes in fs-extra

* Request that PRs have meaningful titles

* Improvement to existing nouislider type definition. (#12033)

* updated nouislider version and added a lot of tests out of the documentation

* corrected intentation

* corrected untyped variables, issue raised by Travis

* incorporated feedback on pull request

* #13037 (#13039)

* #13037

* pointToLayer first argument type fixed
GeoJSON.Point to GeoJSON.Feature<GeoJSON.Point>

* Missing cc in sendgrid packate (#13063)

The sendgrid package was missing the `cc` field, and the `bcc` field had a too generic type (`any` instead of `string[]`, as used on the `setCcs` and `setBccs` below.

* Fixes #12414 (#13076)

* Fixes #12414

* Make applicationServerKey optional

* added ariaLabelledBy and ariaDescribedBy to IModalSettings (#13004)

* Ceymard leaflet (#13007)

* replaced all overrides of LatLng by a single use of LatLngExpression when appropriate

* Changed Point, PointTuple overrides to use PointExpression instead

* Changet use of LatLngBounds and Bounds in general to use the Expression variant instead of having several overrides

* add ElasticSeach 5.x API function for deleteByQuery (#13014)

* add ElasticSeach 5.x API function for deleteByQuery

* use searchParams for deleteByQuery, as theses resemble the documentation.

* add DeleteByQueryParams parameter type.

* add deleteByQuery to tests.

* Make `less` render options optional (#13078)

* Added semver

* Updated gravity definition. (#13088)

* Full Redis client options (#13108)

* Added missing return type to on() methods. (#13082)

* Update react-native.0.29.d.ts (#13118)

drawerPosition is of type `number`
Android DrawerConsts.DrawerPosition.Left is equivalent to DrawerLayoutAndroid.positions.Left
Android DrawerConsts.DrawerPosition.Right is equivalent to DrawerLayoutAndroid.positions.Right

* Upgrade to match braintree-web 3.6.1 (#13098)

* Update to match braintree-web version 3.3.0

* Upgrade to match Braintree-web v3.5.0

* upgrade to match braintree-web 3.6.1

add US bank class

* Fix missing parameters from svg append (#13119)

* Add parameter declarations to append()

* Made insertFirst parameter optional

* Correct missing ‘auto’ option of GridList’s cellHeight (#13094)

* Add new Angular 1.5.9 methods to $compileProvider  (#13096)

* Add new Angular 1.5.9 methods to $compileProvider

Add new methods available in Angular 1.5.9: onChangesTtl(), commentDirectivesEnabled() and cssClassDirectivesEnabled()

* Add JSDoc to Angular 1.59 new methods of $compileProvider

JSDoc for onChangesTtl(), commentDirectivesEnabled() and cssClassDirectivesEnabled() methods.

* Expand $compileProvider JSDoc

Urls added to JSDoc of Angular 1.5.9 new methods .

* Changed type of injectedScript property to string (#13120)

The injectedScript property should take string value with script code, not the bool flag as in current version

* Use unions for openlayers string enums (#13134)

* Update google.maps.MapPane interface (#13122)

* Removing myself (AlStar01) as definition author from angular-material.d.ts (#13125)

* Clarify that notNeededPackages.json is just for packages formerly on DefinitelyTyped (#13156)

* Update Parsimmon typings (#13146)

* Update AmCharts.d.ts (#13170)

* knex: add MySqlConnectionConfig, tests (#13161)

* knex: add MySqlConnectionConfig, tests

* knex: add types for MySqlConnectionConfig queryFormat params

* Add note in readme about tsjs-lib-generator (#13210)

* Remove redux-localstorage packages; added by #13115 instead
2016-12-12 11:00:28 -08:00
Andy
cd4debea25 Remove BOM character from the start of files (#12838) 2016-11-28 10:40:45 -08:00
Mohamed Hegazy
bc150e1372 Port fix in https://github.com/DefinitelyTyped/DefinitelyTyped/pull/11811 (#11913) 2016-10-11 16:08:25 -07:00
Joel Spadin
989cbc1b80 Fix Chrome tests with strict null checking enabled
Enabled strict null checking for Chrome tests and fixed some issues with the
existing tests.

The example code at
https://developer.chrome.com/extensions/examples/api/bookmarks/basic/popup.js
would use an uninitialized 'span' variable if bookmarkNode.title was empty.
Since I have no idea what it was supposed to do in that case, I just moved the
declaration of span up a block.
2016-09-04 21:07:33 -05:00
Joel Spadin
29fb8c50c7 Fix strict null checking in chrome
Fixed everywhere the Chrome API documentation said something could be null but
the types didn't allow it under strict null checking.
2016-09-04 20:52:33 -05:00
Ryan Cavanaugh
b488f3cb5f Merge remote-tracking branch 'upstream/master' into merge_7_25 2016-07-27 10:57:46 -07:00
Ryan Cavanaugh
35075752ec Merge commit 'upstream/master~750' into merge_7_25 2016-07-25 14:51:03 -07:00
Ryan Cavanaugh
347311a5f0 Partial merge remote-tracking branch 'upstream/master' into merge_7_25 2016-07-25 14:26:20 -07:00
NN
6e9e49ad9e Type WebRequestBody.formData (#10205) 2016-07-23 23:38:44 -07:00
NN
5e942d89e6 Fix typo, schema => scheme (#10203)
See documentation https://developer.chrome.com/extensions/webRequest
2016-07-23 20:09:20 -07:00
NN
52087dbaee Add missing url property for all requests (#10201)
See documentation
https://developer.chrome.com/extensions/webRequest
https://developer.mozilla.org/en-US/Add-ons/WebExtensions/API/webRequest/
2016-07-23 20:09:03 -07:00
NN
acf17c35f3 onAuthRequired allows additional arguments. (#10200)
See:
https://developer.chrome.com/extensions/webRequest#type-OnAuthRequiredOptions
https://developer.mozilla.org/en-US/Add-ons/WebExtensions/API/webRequest/onAuthRequired
2016-07-23 20:08:35 -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
Alex Kozack
674fdd2fc9 Add chrome.app.getDetails() function 2016-07-05 16:09:18 +03:00
Raghav Katyal
395c4e1639 Turning on consistent casing flag and fixing failures 2016-06-30 15:14:49 -07:00
Martin Probst
e127f7e436 Remove the dependency on MediaStream from Chrome.
MediaStream & Co are available in TypeScript 1.9's lib.d.ts (or
lib.dom.d.ts etc.), so there's no need to reference them anymore.
2016-06-27 15:39:21 -07:00
Ryan Cavanaugh
e105eabd48 Remove invalid references 2016-05-10 16:27:59 -07:00
Ryan Cavanaugh
612c172c52 Use correct test list 2016-05-10 12:28:03 -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
Andrey Lipatkin
00cb576708 Fixing favIconUrl property name typo for TabChangeInfo class (#9249)
* Fixing favIconUrl property name typo for TabChangeInfo class

* Empty commit to trigger Travis CI
2016-05-09 17:36:26 +09:00
James Tarling
af57239852 Fix for duplicate USB event (#9236) 2016-05-09 17:23:49 +09:00
Ryan Cavanaugh
5859f63fd3 Keep fixing... 2016-05-05 12:38:52 -07:00
Ryan Cavanaugh
ded70421be Turn off strict null checks 2016-05-04 15:08:38 -07:00
Ryan Cavanaugh
76176f2097 Comment out broken declaration 2016-05-04 14:22:50 -07:00
Ryan Cavanaugh
69d1929d8a Add tsconfig.json files 2016-05-04 14:14:39 -07:00
Sergey Rubanov
925bf8b076 add title property to TabChangeInfo (#9163) 2016-05-02 01:16:58 +09:00
Ryan Cavanaugh
dc851736af Delete unused tscparams 2016-04-27 20:42:33 -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
Ryan Cavanaugh
4f7524fc65 Rename files and folders to match their module definitions 2016-04-05 15:50:30 -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
Alex Godko
853365e033 Change chrome.runtime.onConnectExternal type
Change onConnectExternal type from RuntimeEvent to ExtensionConnectEvent
according to https://developer.chrome.com/extensions/runtime#event-onConnectExternal and unsuccessuful compilation of my project :)
2016-03-12 21:12:08 +02:00
vvakame
39f22f95a3 change permission 0755 to 0644 2016-03-10 23:03:55 +09:00
Masahiro Wakame
163a427719 Merge pull request #8267 from RReverser/patch-10
Add definitions for chrome.usb API
2016-02-27 11:49:49 +09:00
Ingvar Stepanyan
2552abff6d Add definitions for chrome.usb API
/cc @mikach
2016-02-26 13:22:03 +00:00
Ingvar Stepanyan
5c3108151b Add definitions for chrome.mediaGalleries API 2016-02-26 13:19:21 +00:00