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