This file contains 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
alert(1) |
This file contains 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
// Premise: I have names which conflict with names I want to use in another module (rxjs). | |
// currently possible (annoying to rename everything) | |
import { race as observableRace, timer as observableTimer, fromEvent as observableFromEvent } from "rxjs"; | |
// currently possible (prevents tree shaking when you only need a few operators.) | |
import * as RxJsOps from "rxjs"; | |
// currently possible (ugly) | |
import { race, timer, fromEvent } from "rxjs"; |