MCPcopy
hub / github.com/webpack/webpack / getTypes

Method getTypes

lib/Generator.js:76–80  ·  view source on GitHub ↗

* Returns the source types available for this module. * @abstract * @param {NormalModule} module fresh module * @returns {SourceTypes} available types (do not mutate)

(module)

Source from the content-addressed store, hash-verified

74 * @returns {SourceTypes} available types (do not mutate)
75 */
76 getTypes(module) {
77 const AbstractMethodError = require("./errors/AbstractMethodError");
78
79 throw new AbstractMethodError();
80 }
81
82 /**
83 * @returns {boolean} whether getTypes() depends on the module's incoming connections

Callers 2

getSourceTypesMethod · 0.45

Calls 1

requireFunction · 0.50

Tested by

no test coverage detected