Skip to content

Commit 7e3571d

Browse files
Observer typo (#101)
* Fixed a typo in the ObserverConstructor new signature * Polish the ObserverConstructor new signature * Core version bump
1 parent dd2f167 commit 7e3571d

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

core/deno.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@observable/core",
3-
"version": "0.15.0",
3+
"version": "0.16.0",
44
"license": "MIT",
55
"exports": "./mod.ts",
66
"publish": { "exclude": ["*.test.ts"] }

core/observer.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,8 +34,8 @@ export interface Observer<Value = unknown> {
3434
*/
3535
export interface ObserverConstructor {
3636
/**
37-
* Creates and return an object that provides a standard way to [consume](https://jsr.io/@observable/core#consumer)
38-
* a sequence of values (either finite or infinite).
37+
* Creates and returns an object that provides a standard way to [consume](https://jsr.io/@observable/core#consumer)
38+
* a sequence of {@linkcode Value|values} (either finite or infinite).
3939
* ```ts
4040
* import { Observer } from "@observable/core";
4141
*

0 commit comments

Comments
 (0)