Skip to content

Commit

Permalink
Merge pull request #765 from polkovnikov-ph/master
Browse files Browse the repository at this point in the history
Make cursor typescript definition accessible from other ambient external modules
  • Loading branch information
leebyron committed Apr 15, 2016
2 parents 671501e + ce48bf1 commit 14432be
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions contrib/cursor/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -35,11 +35,9 @@
* update the rest of your application.
*/

declare module 'immutable/contrib/cursor' {

///<reference path='../../dist/immutable.d.ts'/>
import Immutable = require('immutable');
/// <reference path='../../dist/immutable.d.ts'/>

declare module __Cursor {

export function from(
collection: Immutable.Collection<any, any>,
Expand Down Expand Up @@ -289,3 +287,7 @@ declare module 'immutable/contrib/cursor' {
}

}

declare module 'immutable/contrib/cursor' {
export = __Cursor
}

0 comments on commit 14432be

Please sign in to comment.