feat: rename helpers to define (#2453)

This commit is contained in:
Luca Casonato
2024-05-24 11:48:32 +02:00
committed by GitHub
parent c57d0ccb2f
commit c9f0ccdce7
9 changed files with 42 additions and 42 deletions
+2 -2
View File
@@ -1,4 +1,4 @@
import { createHelpers } from "@fresh/core";
import { createDefine } from "@fresh/core";
export interface State {
title?: string;
@@ -7,4 +7,4 @@ export interface State {
noIndex?: boolean;
}
export const df = createHelpers<State>();
export const df = createDefine<State>();