Skip to content

Conversation

ryanruanwork
Copy link
Contributor

Fix some issues about typings and build process

  1. use yarn flowgen instead of flowgen in Makefile
  2. add node version in package.json
  3. fix TS error and use @ts-ignore
  4. fix flow type error in genFlowType.ts

@ryanruanwork ryanruanwork requested a review from magicmark March 11, 2020 19:11

if (resourceConfig.isBatchResource) {
retVal = `$ElementType<${retVal}, 0>`;
retVal = resourceConfig.isResponseDictionary ? `$Values<${retVal}>` : `$ElementType<${retVal}, 0>`;
Copy link
Collaborator

Choose a reason for hiding this comment

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

Oops, good catch that this needs fixing :)

Copy link
Collaborator

@magicmark magicmark left a comment

Choose a reason for hiding this comment

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

Nice work, thanks!

@ryanruanwork ryanruanwork merged commit d3a1fcf into master Mar 11, 2020
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