()
| 13 | } |
| 14 | |
| 15 | public get data(): { statusCode: number; message: string; data?: T } { |
| 16 | const resp = { |
| 17 | statusCode: this.statusCode, |
| 18 | message: this.message, |
| 19 | data: this.respData, |
| 20 | }; |
| 21 | if (!resp?.data) delete resp.data; |
| 22 | return resp; |
| 23 | } |
| 24 | } |
| 25 | |
| 26 | function removeNotNumbers(input: string): string { |
nothing calls this directly
no outgoing calls
no test coverage detected