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 google-protobuf definitions #3108

Merged
merged 1 commit into from
Aug 15, 2019

Conversation

chrisgervang
Copy link
Contributor

@chrisgervang chrisgervang commented Jan 30, 2019

I've written these definitions for use with https://github.com/chrisgervang/flowtype-protoc-gen

| boolean
| Uint8Array
| FieldValueArray
| typeof undefined;
Copy link
Member

Choose a reason for hiding this comment

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

void ?


var map = new jspb.Map([["key", "value"]]);

console.log(map.get("key") === "value")
Copy link
Member

Choose a reason for hiding this comment

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

I guess this could use a bit more tests?

Could you please wrap tests in a few describe/it blocks?

@goodmind
Copy link
Contributor

goodmind commented Feb 4, 2019

@chrisgervang

@pascalduez pascalduez added the changes requested Changes have been requested by a reviewer label Feb 9, 2019
@pascalduez pascalduez merged commit 1e57dbb into flow-typed:master Aug 15, 2019
@pascalduez pascalduez removed the changes requested Changes have been requested by a reviewer label Aug 15, 2019
@pascalduez pascalduez removed their assignment Aug 15, 2019
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.

None yet

3 participants