(
tableOptions: Partial<TableOptionsResolved<any>>,
debugLevel:
| 'debugAll'
| 'debugCells'
| 'debugTable'
| 'debugColumns'
| 'debugRows'
| 'debugHeaders',
key: string,
onChange?: (result: any) => void
)
| 200 | } |
| 201 | |
| 202 | export function getMemoOptions( |
| 203 | tableOptions: Partial<TableOptionsResolved<any>>, |
| 204 | debugLevel: |
| 205 | | 'debugAll' |
| 206 | | 'debugCells' |
| 207 | | 'debugTable' |
| 208 | | 'debugColumns' |
| 209 | | 'debugRows' |
| 210 | | 'debugHeaders', |
| 211 | key: string, |
| 212 | onChange?: (result: any) => void |
| 213 | ) { |
| 214 | return { |
| 215 | debug: () => tableOptions?.debugAll ?? tableOptions[debugLevel], |
| 216 | key: process.env.NODE_ENV === 'development' && key, |
| 217 | onChange, |
| 218 | } |
| 219 | } |
no outgoing calls
no test coverage detected
searching dependent graphs…