(options: OPTIONS)
| 1060 | } |
| 1061 | |
| 1062 | withCommandOptions< |
| 1063 | OPTIONS extends CommandOptions<TYPE_MAPPING>, |
| 1064 | TYPE_MAPPING extends TypeMapping |
| 1065 | >(options: OPTIONS) { |
| 1066 | const proxy = Object.create(this._self); |
| 1067 | proxy._commandOptions = { ...this._commandOptions, ...options }; |
| 1068 | return proxy as RedisClientType< |
| 1069 | M, |
| 1070 | F, |
| 1071 | S, |
| 1072 | RESP, |
| 1073 | TYPE_MAPPING extends TypeMapping ? TYPE_MAPPING : {} |
| 1074 | >; |
| 1075 | } |
| 1076 | |
| 1077 | private _commandOptionsProxy< |
| 1078 | K extends keyof CommandOptions, |
no test coverage detected