Created
July 17, 2015 10:44
-
-
Save anstarovoyt/3e96ac71dceef7157b66 to your computer and use it in GitHub Desktop.
typescript import/export
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
module Rx2 { | |
export interface A {} | |
} | |
declare module 'Rx' { | |
export = Rx2; | |
} | |
declare module 'Rx/2' { | |
export {A} from 'Rx'; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment