@types/ember-testing-helpers
Advanced tools
| // Type definitions for ember-testing/lib/helpers | ||
| // Project: https://github.com/emberjs/ember.js/tree/master/packages/ember-testing/lib/helpers | ||
| // Definitions by: Chris Krycho <github.com/chriskrycho> | ||
| // Definitions by: Chris Krycho <https://github.com/chriskrycho> | ||
| // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped | ||
| // TypeScript Version: 2.3 | ||
| // TypeScript Version: 2.4 | ||
@@ -13,10 +13,10 @@ // Note that these are distributed separately because they represent a discrete | ||
| import RSVP = require('rsvp'); | ||
| import RSVP from 'rsvp'; | ||
| type KeyEventType = 'keydown' | 'keyup' | 'keypress'; | ||
| type WaitResult<T> = RSVP.Promise<T, never>; | ||
| type WaitResult<T> = RSVP.Promise<T>; | ||
| declare global { | ||
| // https://github.com/emberjs/ember.js/blob/master/packages/ember-testing/lib/helpers/and_then.js | ||
| function andThen<T>(callback: (...args: any[]) => T): RSVP.Promise<T, never>; | ||
| function andThen<T>(callback: (...args: any[]) => T): RSVP.Promise<T>; | ||
@@ -49,3 +49,3 @@ // https://github.com/emberjs/ember.js/blob/master/packages/ember-testing/lib/helpers/click.js | ||
| // https://github.com/emberjs/ember.js/blob/master/packages/ember-testing/lib/helpers/pause_test.js | ||
| function pauseTest(): RSVP.Promise<{}, never>; | ||
| function pauseTest(): RSVP.Promise<{}>; | ||
| function resumeTest(): void; | ||
@@ -52,0 +52,0 @@ |
| { | ||
| "name": "@types/ember-testing-helpers", | ||
| "version": "0.0.2", | ||
| "version": "0.0.3", | ||
| "description": "TypeScript definitions for ember-testing/lib/helpers", | ||
@@ -9,3 +9,4 @@ "license": "MIT", | ||
| "name": "Chris Krycho", | ||
| "url": "github.com/chriskrycho" | ||
| "url": "https://github.com/chriskrycho", | ||
| "githubUsername": "chriskrycho" | ||
| } | ||
@@ -23,4 +24,4 @@ ], | ||
| }, | ||
| "typesPublisherContentHash": "da8b82db8a9f4fc9c825766596c4acbc1a8e2103c99b2b7e5396cc2b0ef8a595", | ||
| "typeScriptVersion": "2.3" | ||
| "typesPublisherContentHash": "84fd7d4f9c41af21ecca3584ec7f3f1e1d5dc9e792774fde81d72e84029e0f08", | ||
| "typeScriptVersion": "2.4" | ||
| } |
@@ -11,3 +11,3 @@ # Installation | ||
| Additional Details | ||
| * Last updated: Thu, 14 Sep 2017 19:43:24 GMT | ||
| * Last updated: Fri, 13 Oct 2017 10:31:50 GMT | ||
| * Dependencies: rsvp, jquery | ||
@@ -17,2 +17,2 @@ * Global values: none | ||
| # Credits | ||
| These definitions were written by Chris Krycho <github.com/chriskrycho>. | ||
| These definitions were written by Chris Krycho <https://github.com/chriskrycho>. |
5914
2.28%