( loaded: LoadedSources, id: string, source: string )
| 624 | export type LoadedSources = Map<string, string | null> |
| 625 | |
| 626 | export const addLoaded = ( |
| 627 | loaded: LoadedSources, |
| 628 | id: string, |
| 629 | source: string |
| 630 | ): void => { |
| 631 | loaded.set(id, !loaded.has(id) || loaded.get(id) === source ? source : null) |
| 632 | } |
| 633 | |
| 634 | // why the bundle may hold a read its scan didn't see, if it may |
| 635 | export const unseenProblemOf = ( |
no test coverage detected