UNPKG

@stacksjs/stx

Version:

A performant UI Framework. Powered by Bun.

13 lines 457 B
/** * Generate a method spoofing input field */ export declare function methodField(method: string, fieldName?: string): string; /** * Process @method directives in templates */ export declare function processMethodDirectives(template: string): string; /** * Helper to get the original method from a request * For middleware implementations */ export declare function getOriginalMethod(body: Record<string, any>, methodField?: string): string | null;