Commit Graph

29442 Commits

Author SHA1 Message Date
Alexander James Phillips
b5143b1819 Remove unnecessary module wrapper 2017-05-08 20:31:18 +01:00
Alexander James Phillips
d20f912c77 Add scope and entity to route.options.auth 2017-05-08 20:28:19 +01:00
Alexander James Phillips
c69e614bc1 Make error passed to Hapi.Server.register callback possible to be null 2017-05-08 14:31:32 +01:00
Alexander James Phillips
634461eb23 DRY nes exported types and remove absent Server and Request class exports
* Put in backwards incompatibility warning and a note regarding not needing to
  use Nes.Server or Nes.Request
* Move SocketClass to interface as it is not mentioned in docs as a public
  class for instantiating
2017-05-08 14:29:20 +01:00
Alexander James Phillips
51b1eeb737 Add test for request.socket 2017-05-08 12:44:56 +01:00
Alexander James Phillips
10f421bb83 Fix importing nes/client 2017-05-08 12:35:40 +01:00
Alexander James Phillips
91fe980714 Revert "Move v15 hapi code to v16.0"
This reverts commit 7894a7eb25.
and commit 8ce61979e5
2017-05-08 01:08:05 +01:00
Alexander James Phillips
7894a7eb25 Move v16 hapi code to v16.0 2017-05-08 00:57:09 +01:00
Alexander James Phillips
8ce61979e5 Move v15 hapi code back to v16 now that all tests are passing 2017-05-08 00:54:25 +01:00
Alexander James Phillips
cde29f0e17 Fix hapi-auth-basic tsconfig 2017-05-08 00:46:34 +01:00
Alexander James Phillips
89f08736f0 Fix Podium tests 2017-05-08 00:43:40 +01:00
Alexander James Phillips
8006e24a64 POTENTIAL REGRESSION. Fix nes and add multiple tests
* Potential regression due to not supporting require('nes/client')
  however no working tests to test this against yet.  Added a blank
  test in nes/test/client-require.ts
2017-05-08 00:42:01 +01:00
Alexander James Phillips
97ff039dc5 Add hapi-auth-basic to enable fixing nes properly 2017-05-08 00:41:29 +01:00
Alexander James Phillips
92c0981ea3 Fix hapi-auth-jwt2 and hapi-decorators
Remove redundant `export`s inside hapi-auth-jw2 and remove repeated hapi
definitions in hapi-decorators
2017-05-07 21:16:40 +01:00
Alexander James Phillips
02389001d7 Fix hapi-auth-jwt2 to work with hapi-v16.1 typings 2017-05-07 20:57:39 +01:00
Alexander James Phillips
9fc3c9cd40 Fix some tslint errors and temporarily remove tslint.json 2017-05-07 20:43:03 +01:00
Alexander James Phillips
dc6224ad1c Follow instructions from failed test to set tsconfig types to empty array 2017-05-07 19:11:13 +01:00
Alexander James Phillips
5e7881120c Change version at top of index.d.ts 2017-05-07 18:58:22 +01:00
Alexander James Phillips
f902f7f1fb Temporarily move v16 code to v15 directory
To "fix" the error: "The latest major version is 16, but a directory v16 exists."
2017-05-07 18:51:57 +01:00
Alexander James Phillips
ca36987882 Try moving v16.0 code to v16 directory
Maybe that will fix "types/hapi/v16.0 has unused file hapi-tests.ts" error
2017-05-07 18:47:21 +01:00
Alexander James Phillips
7503dd0bd3 Add paths to v16.0 tsconfig to fix tests 2017-05-07 18:40:20 +01:00
Alexander James Phillips
cacacaa38a Update tsconfig files to reflect new location of tests 2017-05-07 15:13:09 +01:00
Alexander James Phillips
22d7c1dbcf Move hapi tests directory from tests to test 2017-05-07 15:06:09 +01:00
Alexander James Phillips
ae60b8ca46 Move hapi dependencies to own modules
catbox, h2o2, mime-db, mimos, podium, shot, vision
Add tests where possible.
Add note regarding apparent failure of some nested object literals to enforce typings
2017-05-07 15:04:37 +01:00
Alexander James Phillips
f20d1e1c2c Update definition for hapi 16.1
Use Object not object. app and plugins optional in server.inject options
Fix merge conlict with master
Type IPluginFunction. Simplify Plugin. Add backwards incompatibility note.
  Thanks mmc41 and jasonswearingen.
Remove Promise.
  Thanks mmc41.
Fix merge conflict with master
Renaming of all interfaces to remove preceding I in preparation of dtslint
Fix http links in docs and remove old I interface names
2e119e63a  Add example tests of server.decorate on server and request
2e119e63a  Improve comments regarding server.decorate
0d6b28656  Allow response.state to accept object
0d6b28656  request.response should also be responase or null.
0d6b28656  Allow some cookie config fields to be nullable.
Fix merge conflict with master again
2017-05-05 12:43:13 +01:00
Yui
29e0d7f678 Merge pull request #16332 from DefinitelyTyped/master-updateReactRouter
[React-Router] Update library files with fix when JSX.children get typecheck
2017-05-04 21:02:03 -07:00
apollocoder
407cace6b4 Update index.d.ts (#16119)
Added missing restore option
2017-05-04 18:19:11 -07:00
Maxim Kulikov
c223230018 jquery: allow propertyNames array to css() (#16093) 2017-05-04 18:18:34 -07:00
Jelle Slowack
3437921207 fabric: callback and options object is optional in setSrc method (#16101)
* callback and options object is optional in setSrc method

* run tsc fixes, remove deprecated internal modules and HtmlInputElement casts
2017-05-04 18:18:01 -07:00
Mustafa Kuscu
bcf1928b97 update leaflet fullscreen type definitons (#16106)
L.Control.Fullscreen was not found.
2017-05-04 18:16:03 -07:00
Thiago de Arruda
f3b9cb6f51 Split levelup/leveldown into separate declarations (#16062)
* Split levelup/leveldown into separate declarations

Also make some changes to allow importing levelup with ES6 module syntax.

* Adapt level-sublevel to the latest changes in levelup
2017-05-04 18:14:45 -07:00
DingWeizhe
76c82115ad [fluent-ffmpeg] support es6 import syntax & conform to tdslint (#16036)
* support es6 import syntax

* support es6 import syntax

* add author

* test import syntax to es6

* add tslint config

* tslint: Interface has only a call signature

* tslint: ban-types

* tslint: no-misused-new

* tslint: semicolon

* tslint: TypeScript compile error: Cannot find name 'object'.

* tslint: unified-signatures

* tslint: disable unified-signatures, parameter name is different

* tslint: object-literal-shorthand

* tslint: one-variable-per-declaration

* tslint: dt-header

* tslint: no-single-declare-module

* type definitions for images 2.2
2017-05-04 18:13:03 -07:00
Brian Houser
3eb6786902 react-intl: update IntlProvider.Props interface (#15977)
* update IntlProvider.Props interface

* updated react-intl "Definitions by"
2017-05-04 18:10:22 -07:00
Sam Baxter
cb8b7aeb33 Fix function param type definitions for babel-types (#15973) 2017-05-04 18:09:02 -07:00
Martin Deiss
c26fe793b8 Added missing customPATCH method (#15945) 2017-05-04 18:08:32 -07:00
Bas Timmer
5f27bc2094 color: Add color model conversions (#15940) 2017-05-04 18:08:20 -07:00
cafeburger
5eb4882512 Update index.d.ts (#15937)
add 'hosted_domain' property in gapi.client.init
2017-05-04 18:08:08 -07:00
Gyusun Yeom
208f0dd6a6 upate types of watch for 1.0 (#15931)
* Update types of watch for 1.0

* Specify type of File & Options.filter

* fix tslint.json - use dtslint/dt.json

* fix lint error
2017-05-04 18:07:52 -07:00
Denis Vishniakov
06303669ae Fixed missing request.OAuthOptions.transport_method (#15927) 2017-05-04 18:07:03 -07:00
Giedrius Grabauskas
39cf359166 Recreated types for flux@3.2 (#15800)
* Recreated types for flux@3.1.2.

* Added backward compatibility with implementation. Added overload for create method.

* Fixed tslint error in tests.

* Added one more test for old implementation.

* Added more gerenrics in create method. Updated tests.

* Fixed errors.

* Typescript version changed to 2.2.

* Updated `createFunctional` return.
2017-05-04 18:04:37 -07:00
Lucas Neiva
9fbba5a517 Add babel-types NullLiteral type aliases (#16066) 2017-05-04 18:01:48 -07:00
Nicolas Voigt
34d30931f0 Updated bonjour types (were not working on typescript 2.2) (#16075)
* new typings

* updated types into a namespace to allow the default function to be fired

* typo on findOne

* DT tests passed
2017-05-04 18:01:24 -07:00
Ryan Riley
3426ce7a27 Add missing options and further refine parameter types for Handsontable 3.1.2 (#16078)
* Add missing members and parameter types

* Update original setDataAtCell overload

* afterChange oldVal should be typed as any

* Fix lint errors

* Correctly type the prop value in the afterChange parameter
2017-05-04 17:58:28 -07:00
Youngrok Kim
c272249810 Fix incorrect signature of createPath and createHref (#16063) (#16084) 2017-05-04 17:56:40 -07:00
kwiateusz
e695fa67f6 Update definitions of owlcarousel (#16088)
In lib responsiveBaseWidth is wrapped by JQuery
2017-05-04 17:56:16 -07:00
robin labat
ca336951d0 Correction of @types/js-schema for the import error: (#16090)
'Cannot invoke an expression whose type lacks a call signature. Type 'typeof 'js-schema'' has no compatible call signatures.'

while importing with 'import * as schema from 'js-schema''

The previous import strategie ('import {default as schema} from 'js-schema') where raising an error after compilation.
2017-05-04 17:55:53 -07:00
Parambir Singh
67b6964441 Add a few missing type definitions for node.js zlib module (#16311)
* Update index.d.ts

Add overloaded methods for zlib module that take a ZlibOptions parameter along with a callback.

* Add tests for new methods added to node’s zlib module definition.
2017-05-04 17:44:38 -07:00
ikokostya
65989c0d61 @types/node: update dns.resolve* declarations (#16320)
* @types/node: update dns.resolve* declarations

Fixes: #11151

* review fixes
2017-05-04 17:44:11 -07:00
Brian Love
d41436966c @google-cloud/storage definitions (#15155)
* @google-cloud/storage definitions

* Renamed [at]google-cloud to google-cloud and exposed API classes and interfaces at the top level

* Renamed to google-cloud__storage as per request.

* Renamed and moved into types directory.
* Removed individual files and consolidated all definitions into
index.d.ts file.
* Using <code>declare module</code> to create a single
<code>@google-cloud/storage</code> module that imports each individual
module:
** <code>@google-cloud/storage/bucket</code>
** <code>@google-cloud/storage/channel</code>
** <code>@google-cloud/storage/file</code>
** <code>@google-cloud/storage/storage</code>
* Updated README.

* Remove custom README.

* Removed redundant JSDoc comments.

* Fixed errors for passing nom test.
2017-05-04 17:32:51 -07:00
Mohamed Hegazy
922f5aabf0 fix more lint failures (#16331) 2017-05-04 17:16:10 -07:00