Website : rimsha.abasa.com
backdoor
Home
Console
Upload
information
Create File
Create Folder
About
Tools
:
/
var
/
www
/
talha_silentcontent
/
node_modules
/
optics-ts
/
standalone
/
Filename :
reread.d.ts
back
Copy
import type { Optic, TryA, TryT, A, B, S, T } from './optic.js'; import { Eq } from '../utils.js'; import type { Expected } from './errors.js'; interface RereadA<Focus> extends A { 0: TryA<this, Eq<S<this>, Focus> extends true ? Focus : Expected<Focus, S<this>>>; } interface RereadT<Focus> extends T { 0: TryT<this, Eq<S<this>, Focus> extends true ? Eq<B<this>, Focus> extends true ? Focus : Expected<Focus, B<this>> : Expected<Focus, S<this>>>; } export declare const reread: <Focus>(read: (value: Focus) => Focus) => Optic<'Lens', RereadA<Focus>, RereadT<Focus>>; export {};