Created
November 28, 2015 07:29
-
-
Save iamssen/7e084e3defe4015daf91 to your computer and use it in GitHub Desktop.
Extract typescript typings
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
| npm install @reactivex/rxjs; | |
| mkdir -p typings/rxjs; | |
| echo "import * as Rx from './Rx'; export module '@reactivex/rxjs' { export = Rx; }" > typings/rxjs/rxjs.d.ts; | |
| cd node_modules/@reactivex/rxjs/dist/es6; | |
| find . -type f -iname '*.d.ts' | cpio -pdm ../../../../../typings/rxjs/; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment