User codes
This commit is contained in:
@@ -1,9 +1,7 @@
|
||||
import { createDefine } from "fresh";
|
||||
|
||||
// This specifies the type of "ctx.state" which is used to share
|
||||
// data among middlewares, layouts and routes.
|
||||
// deno-lint-ignore no-empty-interface
|
||||
export interface State {
|
||||
shared: string;
|
||||
}
|
||||
|
||||
export const define = createDefine<State>();
|
||||
|
||||
Reference in New Issue
Block a user