Skip to content

Conversation

imjordanxd
Copy link

@imjordanxd imjordanxd commented Sep 19, 2024

Description:
This PR makes the observerOrNext param in Observable#subscribe. No logic change is required, as subscribe is already overloaded with null, so the logic to check for this is already in place. This is also aligned with what's in the V8 branch.

Related issue (if exists):

@imjordanxd imjordanxd marked this pull request as ready for review September 19, 2024 07:21
}

subscribe(observerOrNext?: Partial<Observer<T>> | ((value: T) => void)): Subscription;
subscribe(observerOrNext?: Partial<Observer<T>> | ((value: T) => void) | null): Subscription;
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

for some reason, all the build steps fail locally for me 🤷

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant