mirror of
https://github.com/zhigang1992/DefinitelyTyped.git
synced 2026-04-23 12:56:46 +08:00
9 lines
316 B
TypeScript
9 lines
316 B
TypeScript
import * as Rx from 'rx';
|
|
|
|
// Rx and DOM should both be the same reference
|
|
// before rx-dom import, Rx will not contain the DOM namespace
|
|
// after rx-dom import, Rx will contain the DOM namespace
|
|
|
|
// this is the standard approach for importing rx + rx-dom
|
|
import { Observable, Subject, DOM as rxdom } from 'rx-dom';
|