1.1.0 • Published 3 years ago

wx-rxjs v1.1.0

Weekly downloads
-
License
ISC
Repository
github
Last release
3 years ago

wx-rxjs

Travis

主要用于 微信小程序,由于微信开发者工具npm构建的问题,导致rxjs中的operators无法构建。 所以提供该包,将operators也从入口文件导入,一起打包。

安装

npm install --save wx-rxjs

使用

import { of, Observable, Operators } from 'wx-rxjs';

const o: Observable<number> = of(1, 2, 3);

o.pipe(
  Operators.map((x) => x + 1)
).subscribe((x) => console.log(x));
1.1.0

3 years ago

1.0.4

3 years ago

1.0.3

3 years ago

1.0.2

3 years ago

1.0.1

3 years ago

1.0.0

3 years ago