Package Exports
- zen-observable-ts
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (zen-observable-ts) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
zen-observable-ts
Thin wrapper around zen-observable
and @types/zen-observable
, to support ESM exports as well as CommonJS exports.
Usage
After installing zen-observable-ts
using a tool like npm or yarn, you can import the Observable
class by name:
import { Observable } from "zen-observable-ts";
Note that this package does not currently have a default export, so the {}
braces are mandatory.