Closed sKawashima closed 4 years ago
In this code
const canvas = <HTMLCanvasElement>document.getElementById('main')
RUN prettier-standard --lint
✖ prettier-standard found some errors. Please fix them and try committing again. src/app.ts 663ms /Users/skawashima/works/panepon/src/game/Main/index.ts 3:37 error Parsing error: Unterminated JSX contents > 3 | const canvas = <HTMLCanvasElement>document.getElementById('main')
This is not correct syntax. It whould be <HTMLCanvasElement>{document.getElementById('main')
<HTMLCanvasElement>{document.getElementById('main')
In this code
RUN prettier-standard --lint