Skip to content

Instantly share code, notes, and snippets.

import 'react-modal-promise';
import { InstanceOptions } from 'react-modal-promise/lib/types';
import { ComponentType } from 'react';
declare module 'react-modal-promise' {
type ModalResolveValue<Value> =
| {
type: 'COMPLETE';
value?: Value;
}