MCPcopy
hub / github.com/theajack/disable-devtool / initDetectors

Function initDetectors

src/detector/index.ts:32–40  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

30};
31
32export function initDetectors () {
33 const typeArray = config.detectors === 'all' ?
34 Object.keys(Detectors) : config.detectors;
35
36 typeArray.forEach(type => {
37 const DetectorClass = Detectors[type as Exclude<DetectorType, DetectorType.Unknown>];
38 new DetectorClass();
39 });
40}

Callers 1

main.tsFile · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected