Skip to content

Instantly share code, notes, and snippets.

View efkann's full-sized avatar

efkann

View GitHub Profile
@efkann
efkann / react.d.ts
Created October 10, 2023 20:00
React Experimental Hooks Type Declarations
declare module 'react-dom' {
interface FormStatusNotPending {
pending: false;
data: null;
method: null;
action: null;
}
interface FormStatusPending {
pending: true;