MCPcopy Create free account
hub / github.com/colbymchenry/codegraph / isEsmLanguage

Function isEsmLanguage

src/resolution/frameworks/react.ts:2447–2449  ·  view source on GitHub ↗

JS/TS (and their JSX dialects): modules where a cross-file name needs an import.

(language?: string)

Source from the content-addressed store, hash-verified

2445
2446/** JS/TS (and their JSX dialects): modules where a cross-file name needs an import. */
2447function isEsmLanguage(language?: string): boolean {
2448 return language === 'typescript' || language === 'tsx' || language === 'javascript' || language === 'jsx';
2449}
2450
2451
2452/**

Callers 2

resolveHookFunction · 0.85
resolveContextFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected