diff --git a/packages/core-types/api-report.md b/packages/core-types/api-report.md index bd4d145a10..09611f63e1 100644 --- a/packages/core-types/api-report.md +++ b/packages/core-types/api-report.md @@ -17,8 +17,6 @@ export type JsonPrimitive = number | string | boolean | null; // @public export type JsonValue = JsonObject | JsonArray | JsonPrimitive; -// Warning: (ae-missing-release-tag) "Observable" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) -// // @public export type Observable = { [Symbol.observable](): Observable; @@ -30,8 +28,6 @@ export type Observable = { ): Subscription; }; -// Warning: (ae-missing-release-tag) "Observer" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) -// // @public export type Observer = { next?(value: T): void; @@ -39,8 +35,6 @@ export type Observer = { complete?(): void; }; -// Warning: (ae-missing-release-tag) "Subscription" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) -// // @public export type Subscription = { unsubscribe(): void; diff --git a/packages/core-types/src/observable.ts b/packages/core-types/src/observable.ts index 367fa087e0..f7292c293c 100644 --- a/packages/core-types/src/observable.ts +++ b/packages/core-types/src/observable.ts @@ -16,6 +16,8 @@ /** * Observer interface for consuming an Observer, see TC39. + * + * @public */ export type Observer = { next?(value: T): void; @@ -25,6 +27,8 @@ export type Observer = { /** * Subscription returned when subscribing to an Observable, see TC39. + * + * @public */ export type Subscription = { /** @@ -53,6 +57,8 @@ declare global { * * This is used as a common return type for observable values and can be created * using many different observable implementations, such as zen-observable or RxJS 5. + * + * @public */ export type Observable = { [Symbol.observable](): Observable;