Duplicates
Latest version
Current behavior π―
ReferenceError: hello is not defined
Expected behavior π€
"hello"
Steps to reproduce πΉ
import type { APIHandler } from "@solidjs/start/server";
export const hello = () => "hello";
export const GET: APIHandler = async (e) => {
return hello();
};
Context π¦
using v2 alpha
Your environment π
Duplicates
Latest version
Current behavior π―
ReferenceError: hello is not defined
Expected behavior π€
"hello"
Steps to reproduce πΉ
Context π¦
using v2 alpha
Your environment π