Skip to content

Commit

Permalink
Unprefix names as suggested
Browse files Browse the repository at this point in the history
  • Loading branch information
j-f1 committed Oct 21, 2017
1 parent 760a004 commit 84d93b3
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions app/src/lib/globals.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ declare type DOMHighResTimeStamp = number
*
* https://developer.mozilla.org/en-US/docs/Web/API/IdleDeadline
*/
interface IIdleDeadline {
interface IdleDeadline { // eslint-disable-line typescript/interface-name-prefix
readonly didTimeout: boolean
readonly timeRemaining: () => DOMHighResTimeStamp
}
Expand All @@ -75,7 +75,7 @@ interface IIdleDeadline {
*
* See https://developer.mozilla.org/en-US/docs/Web/API/Window/requestIdleCallback
*/
interface IIdleCallbackOptions {
interface IdleCallbackOptions { // eslint-disable-line typescript/interface-name-prefix
/**
* If timeout is specified and has a positive value, and the callback has not
* already been called by the time timeout milliseconds have passed, the
Expand All @@ -101,8 +101,8 @@ interface IIdleCallbackOptions {
* timeout:
*/
declare function requestIdleCallback(
fn: (deadline: IIdleDeadline) => void,
options?: IIdleCallbackOptions
fn: (deadline: IdleDeadline) => void,
options?: IdleCallbackOptions
): number

interface IDesktopLogger {
Expand Down

0 comments on commit 84d93b3

Please sign in to comment.