Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add wrappers for null-writable #2529

Merged
merged 1 commit into from
Sep 19, 2024
Merged

Conversation

Vampire
Copy link
Contributor

@Vampire Vampire commented Sep 19, 2024

No description provided.

import node.buffer.BufferEncoding
import node.stream.Writable

external class NullWritable : Writable {
Copy link
Collaborator

Choose a reason for hiding this comment

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

Looks like we can just add implementation from original (2 lines of code) and remove Karakum generation :)

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Yes, if you prefer, we can do it.
I just thought where possible, generation is preferable.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I even made a PR to that project first to bring the declaration in line with upstream declaration, so that the generation immediately generates the proper declarations that can override :-D

Copy link
Collaborator

Choose a reason for hiding this comment

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

Yes, if you prefer, we can do it.

Yes, please.
Especially when we know about open problem with NCC packaging.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I don't get what you are saying.
The NCC packaging problem has nothing to do with whether the sources are generated or manually checked in.
I tried it in a pure plain old TS project and it happened there just the same.

@turansky turansky merged commit 7af1eb6 into JetBrains:master Sep 19, 2024
3 checks passed
@Vampire Vampire deleted the null-writable branch September 19, 2024 21:28
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.

2 participants