* Returns the source types available for this module. * @param {NormalModule} module fresh module * @returns {SourceTypes} available types (do not mutate)
(module)
| 207 | * @returns {SourceTypes} available types (do not mutate) |
| 208 | */ |
| 209 | getTypes(module) { |
| 210 | if (this._shouldExposeHtmlType(module)) { |
| 211 | return JAVASCRIPT_AND_HTML_TYPES; |
| 212 | } |
| 213 | return JAVASCRIPT_TYPES; |
| 214 | } |
| 215 | |
| 216 | /** |
| 217 | * @returns {boolean} whether getTypes() depends on the module's incoming connections |
nothing calls this directly
no test coverage detected