MCPcopy Create free account
hub / github.com/WJX20/claude-code / fix-default-stubs.mjs

File fix-default-stubs.mjs

scripts/fix-default-stubs.mjs:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1#!/usr/bin/env node
2/**
3 * Finds all stub files with `export default {} as any` and rewrites them
4 * with proper named exports based on what the source code actually imports.

Callers

nothing calls this directly

Calls 6

readFileSyncFunction · 0.90
resolveImportFunction · 0.85
setMethod · 0.80
addMethod · 0.45
hasMethod · 0.45
getMethod · 0.45

Tested by

no test coverage detected