Skip to content

Commit

Permalink
docs(installation): remove outdated installation instruction
Browse files Browse the repository at this point in the history
  • Loading branch information
jakovljevic-mladen committed Mar 9, 2023
1 parent 667e185 commit 857f4bc
Showing 1 changed file with 6 additions and 20 deletions.
26 changes: 6 additions & 20 deletions docs_app/content/guide/installation.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,33 +26,19 @@ To import only what you need, please {@link guide/importing#es6-via-npm check ou

## CommonJS via npm

If you receive an error like error TS2304: Cannot find name 'Promise' or error TS2304: Cannot find name
'Iterable' when using RxJS you may need to install a supplemental set of typings.
If you receive an error like `error TS2304: Cannot find name 'Promise'` or `error TS2304: Cannot find name
'Iterable'` when using RxJS you may need to install a supplemental set of typings.

1. For typings users:

```shell
typings install es6-shim --ambient
```
```shell
typings install es6-shim --ambient
```

2. If you're not using typings the interfaces can be copied from /es6-shim/es6-shim.d.ts.
2. If you're not using typings the interfaces can be copied from `/es6-shim/es6-shim.d.ts`.
3. Add type definition file included in tsconfig.json or CLI argument.
## All Module Types (CJS/ES6/AMD/TypeScript) via npm

To install this library via npm version 3, use the following command:

```shell
npm install @reactivex/rxjs
```

If you are using npm version 2, you need to specify the library version explicitly:

```shell
npm install @reactivex/[email protected]
```

## CDN
For CDN, you can use [unpkg](https://unpkg.com/):
Expand Down

0 comments on commit 857f4bc

Please sign in to comment.