(moduleGraph, info, strict)
| 302 | * @returns {ExportsType} the exports type |
| 303 | */ |
| 304 | const getExportsType = (moduleGraph, info, strict) => { |
| 305 | if (strict) { |
| 306 | if (info.exportsTypeStrict === undefined) { |
| 307 | info.exportsTypeStrict = info.module.getExportsType(moduleGraph, true); |
| 308 | } |
| 309 | return info.exportsTypeStrict; |
| 310 | } |
| 311 | if (info.exportsTypeNonStrict === undefined) { |
| 312 | info.exportsTypeNonStrict = info.module.getExportsType(moduleGraph, false); |
| 313 | } |
| 314 | return info.exportsTypeNonStrict; |
| 315 | }; |
| 316 | |
| 317 | /** |
| 318 | * @param {ModuleGraph} moduleGraph the module graph |
no test coverage detected