* Freshly recomputed source types when they depend on incoming connections, for chunk-graph cache invalidation; undefined otherwise. #20800 * @returns {SourceTypes | undefined} source types or undefined
()
| 2028 | * @returns {SourceTypes | undefined} source types or undefined |
| 2029 | */ |
| 2030 | getReferencedSourceTypes() { |
| 2031 | const generator = /** @type {Generator} */ (this.generator); |
| 2032 | // Bypass the _sourceTypes cache: it may be stale when the module is not rebuilt. |
| 2033 | return generator.getTypesDependOnIncomingConnections() |
| 2034 | ? generator.getTypes(this) |
| 2035 | : undefined; |
| 2036 | } |
| 2037 | |
| 2038 | /** |
| 2039 | * Generates code and runtime requirements for this module. |
nothing calls this directly
no test coverage detected