The "Simple Example" in the docs contains a StackBlitz demo which is currently displaying the error "Cannot use import statement outside a module".
Specifying "esModuleInterop": true in the tsconfig compiler options resolves the error, but the API the demo is hitting is down: https://graphql-voter-app.herokuapp.com/ returns a 404.
The "Simple Example" in the docs contains a StackBlitz demo which is currently displaying the error "Cannot use import statement outside a module".
Specifying
"esModuleInterop": true
in the tsconfig compiler options resolves the error, but the API the demo is hitting is down: https://graphql-voter-app.herokuapp.com/ returns a 404.