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

fix(types): reserved field in IType can contain reserved names #2001

Merged

Conversation

mkruskal-google
Copy link
Contributor

This is causing downstream problems with some recent descriptor.proto changes that add reserved names.

@mkruskal-google mkruskal-google changed the title Fix the type of reserved field in IType fix(types): reserved field in IType can contain reserved names Jun 4, 2024
Copy link
Member

@dcodeIO dcodeIO left a comment

Choose a reason for hiding this comment

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

Looks like this change should be applied to the source file, as the changes to index.d.ts would be lost when this file is regenerated.

Source location:

* @property {number[][]} [reserved] Reserved ranges

Command to regenerate index.d.ts:

npm run build:types

@mkruskal-google
Copy link
Contributor Author

Thanks, done!

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.

3 participants