* Returns the source types this module can generate. * @returns {SourceTypes} types available (do not mutate)
()
| 2015 | * @returns {SourceTypes} types available (do not mutate) |
| 2016 | */ |
| 2017 | getSourceTypes() { |
| 2018 | if (this._sourceTypes === undefined) { |
| 2019 | this._sourceTypes = /** @type {Generator} */ (this.generator).getTypes( |
| 2020 | this |
| 2021 | ); |
| 2022 | } |
| 2023 | return this._sourceTypes; |
| 2024 | } |
| 2025 | |
| 2026 | /** |
| 2027 | * Freshly recomputed source types when they depend on incoming connections, for chunk-graph cache invalidation; undefined otherwise. #20800 |
no test coverage detected