(tipId: string)
| 10 | } |
| 11 | |
| 12 | export function getSessionsSinceLastShown(tipId: string): number { |
| 13 | const config = getGlobalConfig() |
| 14 | const lastShown = config.tipsHistory?.[tipId] |
| 15 | if (!lastShown) return Infinity |
| 16 | return config.numStartups - lastShown |
| 17 | } |
| 18 |
no test coverage detected