Start renaming
This commit is contained in:
@@ -30,7 +30,7 @@ export async function otherMiddleware(ctx: Context<State>): Promise<Response> {
|
||||
With define helpers:
|
||||
|
||||
```ts util.ts
|
||||
import { createDefine } from "fresh";
|
||||
import { createDefine } from "sweet";
|
||||
|
||||
// Setup, do this once in a file and import it everywhere else.
|
||||
export const define = createDefine<{ foo: string }>();
|
||||
|
||||
Reference in New Issue
Block a user