Closed BYODKM closed 4 years ago
I'm following the graphql-schema-typescript generate-ts --help. It says
graphql-schema-typescript generate-ts --help
graphql-schema-typescript generate-ts <folderPath>
But CLI doesn't take the folderName argument.
$ npx graphql-schema-typescript generate-ts graphql Message: null Error: GraphQLError: Syntax Error: Unexpected Name "gql"
I tried ./graphql or full-path, but nothing changes.
./graphql
npm run graphql-schema-typescript generate-ts graphql worked!
npm run graphql-schema-typescript generate-ts graphql
I'm ok with this.
I'm following the
graphql-schema-typescript generate-ts --help
. It saysBut CLI doesn't take the folderName argument.
I tried
./graphql
or full-path, but nothing changes.