* @param setIsSelfAccepting - set `false` to set `isSelfAccepting` later. e.g. #7870
(url: string, environment: string, setIsSelfAccepting = true)
| 72 | * @param setIsSelfAccepting - set `false` to set `isSelfAccepting` later. e.g. #7870 |
| 73 | */ |
| 74 | constructor(url: string, environment: string, setIsSelfAccepting = true) { |
| 75 | this.environment = environment |
| 76 | this.url = url |
| 77 | this.type = isDirectCSSRequest(url) ? 'css' : 'js' |
| 78 | if (setIsSelfAccepting) { |
| 79 | this.isSelfAccepting = false |
| 80 | } |
| 81 | } |
| 82 | } |
| 83 | |
| 84 | export type ResolvedUrl = [ |
nothing calls this directly
no test coverage detected