* Returns the source types this module can generate. * @abstract * @returns {SourceTypes} types available (do not mutate)
()
| 1042 | * @returns {SourceTypes} types available (do not mutate) |
| 1043 | */ |
| 1044 | getSourceTypes() { |
| 1045 | class="cm">// Better override this method to return the correct types |
| 1046 | if (this.source === Module.prototype.source) { |
| 1047 | return DEFAULT_TYPES_UNKNOWN; |
| 1048 | } |
| 1049 | return JAVASCRIPT_TYPES; |
| 1050 | } |
| 1051 | |
| 1052 | /** |
| 1053 | * Freshly recomputed source types when they depend on incoming connections, for chunk-graph cache invalidation; undefined otherwise. #20800 |
no outgoing calls
no test coverage detected