Skip to content

Commit

Permalink
Merge pull request DefinitelyTyped#9848 from rakatyal/raghav/test_fixes
Browse files Browse the repository at this point in the history
Fixing test failures
  • Loading branch information
RyanCavanaugh authored Jun 30, 2016
2 parents 4554588 + 705d1a9 commit f39f647
Show file tree
Hide file tree
Showing 76 changed files with 3,836 additions and 3,719 deletions.
5 changes: 3 additions & 2 deletions angular-bootstrap-calendar/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,10 @@
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped

import * as moment from '../moment';
import * as angular from 'angularjs';

declare global {
namespace angular.bootstrap.calendar {
declare module 'angularjs' {
export namespace bootstrap.calendar {
interface IEvent {
/**
* The title of the event
Expand Down
40 changes: 22 additions & 18 deletions angular-fullscreen/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,30 +5,34 @@

/// <reference types="angularjs" />

declare namespace angular.fullscreen {
import * as angular from 'angularjs';

/**
* Prefixing interface name with "I" is not recommended: http://www.typescriptlang.org/Handbook#writing-dts-files
* However, we let it here to keep consistency with all the other Angular-related definitions
*/
interface IFullscreen {
// enable document fullscreen
all(): void;
declare module 'angularjs' {
export namespace fullscreen {

// enable or disable the document fullscreen
toggleAll(): void;
/**
* Prefixing interface name with "I" is not recommended: http://www.typescriptlang.org/Handbook#writing-dts-files
* However, we let it here to keep consistency with all the other Angular-related definitions
*/
interface IFullscreen {
// enable document fullscreen
all(): void;

// enable fullscreen to a specific element
enable(element: Element|HTMLElement): void;
// enable or disable the document fullscreen
toggleAll(): void;

// disable fullscreen
cancel(): void;
// enable fullscreen to a specific element
enable(element: Element|HTMLElement): void;

// return true if fullscreen is enabled, otherwise false
isEnabled(): boolean;
// disable fullscreen
cancel(): void;

// return true if fullscreen API is supported by your browser
isSupported(): boolean;
// return true if fullscreen is enabled, otherwise false
isEnabled(): boolean;

// return true if fullscreen API is supported by your browser
isSupported(): boolean;
}
}

}
Loading

0 comments on commit f39f647

Please sign in to comment.