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

protobuf如何定义数组类型 #1131

Open
lh348753987 opened this Issue Jan 4, 2019 · 2 comments

Comments

Projects
None yet
3 participants
@lh348753987
Copy link

lh348753987 commented Jan 4, 2019

比如arr = [1,2,3,4]怎么定义呢?谢谢

@coolchiuyiming

This comment has been minimized.

Copy link

coolchiuyiming commented Jan 15, 2019

你應該是要使用TypeScript吧? let arr : Array<number> = [1,2,3,4];

@horizonSky

This comment has been minimized.

Copy link

horizonSky commented Jan 17, 2019

如果是说protos配置的话 repeated sInt32 arr: 1

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