sapper-typescript-graphql-template
sapper-typescript-graphql-template copied to clipboard
Unexpected token eslint(ParseError)
Hi! Variables with interface throw error "Unexpected token eslint(ParseError)". This is in the latest clone of the template. "version": "2020.09.10",
npm run eslint:fix
/.../sapper-typescript-graphql-template/src/routes/_layout.svelte
11:20 error Unexpected token ParseError
Eslint highlight show error as well.
export let segment: string = ""; >>> Unexpected token eslint(ParseError)
I faced this problem too in my project. And still can't solve it.
👋 We can't solve this problem because we're dependent on upstream https://github.com/sveltejs/eslint-plugin-svelte3/issues/10