UNPKG

@tempfix/watcher

Version:

The file system watcher that strives for perfection, with no native dependencies and optional rename detection support.

7 lines (6 loc) 198 B
import type { Result } from './types.js'; declare const makeNakedPromise: { <T>(): Result<T>; wrap<T_1>(fn: (result: Result<T_1>) => void): Promise<T_1>; }; export default makeNakedPromise;