Skip to content

[Bug?]: [v2] entry-server typescript issue #2233

Description

@paularmstrong

Duplicates

  • I have searched the existing issues

Latest version

  • I have tested the latest version

Current behavior 😯

Using 2.0.0-rc.2

src/entry-server.tsx:5:1 - error TS2883: The inferred type of 'default' cannot be named without a reference to 'H3$1' from '../../../node_modules/@solidjs/start/node_modules/h3/dist/h3.d.mts'. This is likely not portable. A type annotation is necessary.

  5 export default createHandler(() => {
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  6  return (
    ~~~~~~~~~
...
 53  );
    ~~~
 54 });
    ~~~

Expected behavior 🤔

No response

Steps to reproduce 🕹

Steps:

Context 🔦

No response

Your environment 🌎

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions