Skip to content

unreachable code after return statement #352

@einarpersson

Description

@einarpersson

Hi, just wanted to let you know that I get this warning in developer console

unreachable code after return statement

in character_controller.ts:95:9

Reproduce

  1. npx sv create hello-rapier (minimal, ts)
  2. npm i @dimforge/rapier2d (0.19.0)
  3. npm i vite-plugin-wasm and add wasm() to the vite plugins array in the vite config
  4. Dynamically import Rapier in onMount in +page.svelte

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions