Derek Cicerone c22650edab Fix types for promises in selenium-webdriver
The webdriver promises were recently made generic (that whole commit is actually pretty impressive!) but I think the definitions for the then methods are slightly incorrect. Looking at the original jsdoc (which I assume was imported from the original closure annotations) some edits appear to be necessary:
1. The return type of the success callback should match the returned promise's generic type.
2. The success callback can return a promise that will automatically be unwrapped.

I also made some other housekeeping edits:
* removed @param type information and @template since TypeScript puts type annotations directly in the code
* my editor removes trailing whitespace and adds a newline at the EOF

Once TypeScript 1.4 is out, these definitions can likely be simplified by using union types.
2014-12-20 13:07:29 -05:00
2014-01-09 16:39:18 +04:00
2014-09-02 14:53:39 -07:00
2014-06-22 12:23:03 +10:00
2014-10-27 10:30:28 +09:00
2014-11-17 14:06:04 +09:00
2014-05-12 14:45:19 +09:00
2014-06-18 23:31:11 +02:00
2014-09-22 17:57:21 +02:00
2013-10-03 22:23:35 +09:00
2014-09-02 14:53:39 -07:00
2014-11-13 23:46:14 +09:00
2014-11-10 22:00:13 -06:00
2014-05-18 21:37:47 +02:00
2014-09-02 14:53:39 -07:00
2014-06-18 23:31:11 +02:00
2014-06-18 23:31:11 +02:00
2014-12-04 22:33:56 +11:00
2014-09-29 18:19:55 +10:00
2014-01-24 00:22:06 +01:00
2014-04-21 01:52:28 +02:00
2014-09-30 03:06:45 +03:00
2014-07-11 07:37:05 +02:00
2014-08-01 20:11:18 +02:00
2014-08-30 14:24:46 -07:00
2014-01-24 00:22:06 +01:00
2014-08-07 15:50:27 +09:00
2014-11-05 14:39:42 +09:00
2014-11-05 14:39:42 +09:00
2014-11-05 14:39:42 +09:00
2014-12-08 21:20:21 -02:00
2014-11-05 14:39:42 +09:00
2014-11-05 16:29:12 -08:00
2014-12-15 15:40:40 +03:00
2014-10-22 10:21:24 +02:00
2013-08-07 16:59:39 +03:00
2014-08-19 16:41:08 -04:00
2014-10-31 18:04:28 +01:00
2014-11-27 19:23:54 -06:00
2014-11-18 20:34:21 +09:00
2014-01-24 00:22:06 +01:00
2014-07-17 19:20:44 +01:00
2014-11-13 06:36:43 +09:00
2014-12-15 21:15:27 +13:00
2014-10-30 01:33:59 +09:00
2014-07-17 19:20:44 +01:00
2014-06-18 23:31:11 +02:00
2014-02-26 14:13:17 +09:00
2014-08-20 00:27:36 +09:00
2014-12-03 18:45:35 +01:00
2014-11-28 15:43:48 +01:00
2014-06-18 23:31:35 +02:00
2014-09-15 23:33:51 +09:00
2014-12-17 18:59:02 +03:00
2014-04-10 19:07:43 +09:00
2014-09-02 14:53:39 -07:00
2014-11-13 00:21:12 +01:00
2014-11-19 18:40:33 +01:00
2014-05-28 13:16:20 +02:00
2014-10-12 12:58:12 -05:00
2014-11-14 00:22:32 +09:00
2014-08-29 11:52:16 +09:00
2014-07-17 19:20:44 +01:00
2014-10-27 10:31:35 -05:00
2014-04-01 00:36:35 +02:00
2014-06-18 23:31:11 +02:00
2014-06-18 23:31:11 +02:00
2014-11-21 20:52:56 +09:00
2014-08-24 00:11:05 +09:00
2014-09-02 14:53:39 -07:00
2014-12-15 22:01:58 -05:00
2014-09-22 12:58:36 +09:00
2014-05-05 03:38:57 +03:00
2014-06-18 23:31:11 +02:00
2014-06-18 23:31:11 +02:00
2014-06-18 23:31:11 +02:00
2014-11-17 14:06:04 +09:00
2014-06-26 05:43:00 +02:00
2014-09-02 14:53:39 -07:00
2014-11-14 10:30:52 +01:00
2014-11-05 14:39:41 +09:00
2013-05-25 18:08:56 +03:00
2014-05-26 14:31:30 +02:00
2014-10-07 15:23:18 +09:00
2014-06-12 11:36:40 -05:00
2014-12-03 13:34:08 +09:00
2014-08-20 10:22:05 +10:00
2014-01-24 18:51:21 +01:00
2014-05-13 23:20:07 -07:00
2014-09-02 14:53:39 -07:00
2014-06-18 23:31:11 +02:00
2014-06-26 04:17:22 +02:00
2014-11-24 19:44:06 -06:00
2014-09-02 14:53:39 -07:00
2014-01-24 00:19:24 +01:00
2014-06-18 23:31:11 +02:00
2013-12-19 15:33:09 +04:00
2014-12-10 15:25:58 -05:00
2014-09-27 11:57:45 +09:00
2014-11-07 23:31:02 +09:00
2014-07-25 14:24:05 +02:00
2014-01-09 12:29:17 +04:00
2014-01-09 12:29:17 +04:00
2014-11-03 13:39:36 +01:00
2014-11-06 10:23:22 -08:00
2014-11-18 17:04:21 +00:00
2014-09-02 14:53:39 -07:00
2014-09-02 21:02:39 +02:00
2014-10-15 20:16:45 +09:00
2014-09-02 14:53:39 -07:00
2014-09-15 20:09:20 +02:00
2014-10-13 18:20:13 +03:00
2014-01-25 01:08:33 +01:00
2014-12-14 16:56:46 +00:00
2014-10-09 21:13:39 +09:00
2014-10-07 15:20:55 +09:00
2014-09-24 15:42:07 +01:00
2014-06-18 23:31:11 +02:00
2014-09-02 14:53:39 -07:00
2014-10-07 15:19:31 +09:00
2014-12-15 19:10:38 +13:00
2014-12-15 19:25:19 +13:00
2014-10-08 01:24:47 +09:00
2014-09-02 14:53:39 -07:00
2014-12-16 15:07:18 +00:00
2013-11-08 23:36:00 +09:00
2014-07-18 14:45:24 +09:00
2013-11-04 14:25:14 -08:00
2014-05-15 16:47:49 -05:00
2013-09-19 23:21:43 +09:00
2014-09-05 17:13:53 +09:00
2014-06-18 23:31:11 +02:00
2014-01-24 00:55:00 +01:00
2014-10-13 18:45:43 +03:00
2014-03-07 11:51:54 -03:30
2014-06-18 23:31:11 +02:00
2014-11-05 15:18:14 +05:30
2013-12-06 22:36:06 +00:00
2014-01-24 00:55:00 +01:00
2014-06-18 23:31:11 +02:00
2014-06-18 23:31:11 +02:00
2014-08-07 15:50:27 +09:00
2014-08-24 09:57:53 +03:00
2014-08-01 17:26:03 +09:00
2014-11-18 14:59:43 +02:00
2014-04-01 00:37:42 +02:00
2014-09-02 14:53:39 -07:00
2014-09-02 14:53:39 -07:00
2014-06-18 23:31:11 +02:00
2014-01-02 16:34:52 +09:00
2014-10-12 12:19:25 +02:00
2014-11-02 22:20:59 -06:00
2014-06-18 23:31:11 +02:00
2014-01-24 01:19:01 +01:00
2014-09-05 00:43:33 -04:00
2014-06-18 23:31:11 +02:00
2014-10-28 02:53:19 +09:00
2014-06-18 23:31:11 +02:00
2014-09-02 14:53:39 -07:00
2014-10-22 15:40:26 +02:00
2014-11-17 20:29:42 -08:00
2014-01-25 01:08:33 +01:00
2014-12-12 16:52:04 +00:00
2014-09-02 14:53:39 -07:00
2014-02-21 15:03:21 +01:00
2014-04-28 23:42:21 +02:00
2014-12-09 22:24:39 +00:00
2014-11-22 17:54:43 +01:00
2014-01-24 01:19:01 +01:00
2014-05-22 21:05:24 +09:00
2014-04-28 23:55:46 +02:00
2014-11-11 12:33:12 -05:00
2014-07-20 12:13:28 +02:00
2014-05-11 11:45:26 +02:00
2014-06-18 23:31:11 +02:00
2014-08-30 10:22:37 +09:00
2014-01-27 21:40:20 -05:00
2014-09-05 15:29:36 -07:00
2014-07-17 19:20:44 +01:00
2014-06-18 23:31:11 +02:00
2014-11-12 20:53:16 +01:00
2014-11-14 11:28:52 +01:00
2014-10-08 01:25:47 +09:00
2014-04-01 00:36:47 +02:00
2014-12-18 07:46:43 -05:00
2014-12-18 07:46:43 -05:00
2014-10-07 14:46:14 +09:00
2014-08-03 04:47:28 +08:00
2013-11-11 22:31:21 +09:00
2014-09-16 00:20:51 +02:00
2014-04-28 22:00:50 +02:00
2014-12-18 07:46:43 -05:00
2014-12-13 22:09:05 +09:00
2014-06-19 16:56:50 +02:00
2014-08-05 11:06:19 +08:00
2014-10-06 22:02:50 +09:00
2014-06-18 23:31:11 +02:00
2014-12-16 10:54:37 +00:00
2014-11-05 14:39:42 +09:00
2014-06-18 23:31:11 +02:00
2014-08-01 06:49:29 +02:00
2014-11-23 22:12:48 +00:00
2014-11-08 01:52:05 +01:00
2014-05-11 21:10:43 +02:00
2014-11-13 16:45:45 -05:00
2014-09-02 14:53:39 -07:00
2014-09-16 04:11:30 +02:00
2014-07-29 20:58:09 -03:00
2014-04-01 00:36:25 +02:00
2014-01-24 18:51:21 +01:00
2014-09-10 17:12:57 +09:00
2014-06-16 04:25:18 +02:00
2014-08-23 23:23:49 +09:00
2014-09-10 21:24:12 +09:00
2014-04-04 12:26:32 +09:00
2014-09-02 14:53:39 -07:00
2014-05-30 12:34:46 -07:00
2014-10-14 07:49:02 +09:00
2014-12-01 22:06:23 +09:00
2014-06-18 23:31:11 +02:00
2014-11-02 21:13:02 +09:00
2014-12-03 12:59:38 -05:00
2014-09-02 14:53:39 -07:00
2013-08-07 18:02:05 +03:00
2014-11-23 23:41:33 -05:00
2014-12-06 12:09:45 +09:00
2014-09-20 10:10:07 +02:00
2014-09-02 14:53:39 -07:00
2014-11-23 14:09:46 +01:00
2014-09-29 18:18:00 +10:00
2014-07-17 21:21:02 +09:00
2014-08-24 09:57:53 +03:00
2014-12-17 15:29:34 -05:00
2014-06-18 23:31:11 +02:00
2014-06-18 23:31:11 +02:00
2014-08-24 09:57:53 +03:00
2014-10-29 12:09:38 -04:00
2014-09-02 14:53:39 -07:00
2014-12-11 23:22:37 +09:00
2014-09-27 17:25:03 +01:00
2014-09-02 14:53:39 -07:00
2013-09-02 20:07:31 +01:00
2014-11-05 14:39:41 +09:00
2014-06-18 23:31:11 +02:00
2014-11-05 14:39:41 +09:00
2014-06-18 23:31:11 +02:00
2014-11-17 08:53:31 +02:00
2014-09-12 02:44:31 +02:00
2014-08-07 15:50:27 +09:00
2014-01-02 16:34:52 +09:00
2014-05-22 14:41:57 -07:00
2014-09-02 14:53:39 -07:00
2014-09-02 14:53:39 -07:00
2014-08-21 21:25:29 +02:00
2014-11-13 16:13:35 +09:00
2014-12-12 11:26:27 -05:00
2014-08-07 15:50:27 +09:00
2014-11-18 17:26:33 +01:00
2014-06-26 05:43:00 +02:00
2014-06-18 23:31:11 +02:00
2014-05-25 16:50:42 -04:00
2014-06-18 23:31:11 +02:00
2013-11-19 01:40:09 -08:00
2014-01-24 01:56:27 +01:00
2014-06-18 23:31:11 +02:00
2014-12-11 11:11:03 -08:00
2014-10-29 20:07:27 +08:00
2014-11-04 19:08:20 +09:00
2014-11-04 21:15:58 +09:00
2014-04-04 11:20:48 +02:00
2014-06-18 23:31:11 +02:00
2014-09-25 01:40:38 +01:00
2014-09-02 14:53:39 -07:00
2014-04-28 23:48:34 +02:00
2014-12-08 15:23:50 +01:00
2014-08-02 21:59:16 +09:00
2014-09-02 14:53:39 -07:00
2014-09-02 14:53:39 -07:00
2014-11-28 18:50:27 -07:00
2013-08-07 16:59:39 +03:00
2014-08-24 09:57:53 +03:00
2014-11-08 12:45:12 -05:00
2014-12-08 16:29:48 +05:00
2014-11-20 13:25:38 +01:00
2014-09-02 14:53:39 -07:00
2014-04-03 09:31:52 +09:00
2013-09-11 16:47:31 +03:00
2014-08-29 14:34:33 +01:00
2014-11-13 11:47:03 +09:00
2014-02-25 16:32:43 -08:00
2014-09-02 14:53:39 -07:00
2014-05-22 13:53:35 +09:00
2014-11-20 22:13:48 +01:00
2014-06-29 14:52:43 -04:00
2014-12-01 14:29:32 +09:00
2014-12-15 20:53:14 +13:00
2014-09-24 14:32:25 -07:00
2014-08-07 15:01:57 +09:00
2014-10-07 15:04:23 +09:00
2014-04-01 21:07:11 +02:00
2014-10-22 12:20:07 +02:00
2014-11-06 01:04:01 +09:00
2014-09-02 14:53:39 -07:00
2014-06-18 23:31:11 +02:00
2014-11-08 03:42:15 +09:00
2014-06-18 23:31:11 +02:00
2014-12-11 23:55:52 +09:00
2014-10-07 22:56:19 +02:00

DefinitelyTyped Build Status

The repository for high quality TypeScript type definitions.

For more information see the definitelytyped.org website.

Usage

Include a line like this:

/// <reference path="jquery.d.ts" />

Contributions

DefinitelyTyped only works because of contributions by users like you!

Please see the contribution guide on how to contribute to DefinitelyTyped.

How to get the definitions

List of definitions

Requested definitions

Here is an updated list of definitions people have requested.

Licence

This project is licensed under the MIT license.

Copyrights on the definition files are respective of each contributor listed at the beginning of each definition file.

Analytics

Description
No description provided
Readme MIT 395 MiB
Languages
TypeScript 100%