mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2025-10-16 12:05:41 +00:00
When a generic type argument is provided, require the method names array to only include keys of the generic type argument and for the object syntax, additionally require that the setup returned type matches the return type of the method. Requires TS 2.8 for conditional types.
11 lines
454 B
TypeScript
11 lines
454 B
TypeScript
// Type definitions for karma-jasmine plugin
|
|
// Project: https://github.com/karma-runner/karma-jasmine
|
|
// Definitions by: Michel Salib <https://github.com/michelsalib>
|
|
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
|
|
// TypeScript Version: 2.8
|
|
|
|
/// <reference types="jasmine" />
|
|
|
|
declare function fdescribe(description: string, specDefinitions: () => void): void;
|
|
declare function fit(expectation: string, assertion: () => void): void;
|