( options: Options.Options<A>, effect: Effect.Effect<B, unknown, FileSystem.FileSystem | Path.Path | Terminal.Terminal> )
| 1064 | } |
| 1065 | |
| 1066 | const makeWithFallback = <A, B>( |
| 1067 | options: Options.Options<A>, |
| 1068 | effect: Effect.Effect<B, unknown, FileSystem.FileSystem | Path.Path | Terminal.Terminal> |
| 1069 | ): Options.Options<A | B> => { |
| 1070 | const op = Object.create(proto) |
| 1071 | op._tag = "WithFallback" |
| 1072 | op.options = options |
| 1073 | op.effect = effect |
| 1074 | return op |
| 1075 | } |
| 1076 | |
| 1077 | const modifySingle = (self: Instruction, f: (single: Single) => Single): Options.Options<any> => { |
| 1078 | switch (self._tag) { |
no test coverage detected