Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
readFileSync
Function · 0.90
resolveImport
Function · 0.85
set
Method · 0.80
add
Method · 0.45
has
Method · 0.45
get
Method · 0.45
Tested by
no test coverage detected