MCPcopy Create free account
hub / github.com/UsefulSoftwareCo/executor / isDeclarationFile

Function isDeclarationFile

scripts/oxlint-plugin-executor/utils.js:25–27  ·  view source on GitHub ↗
(filename)

Source from the content-addressed store, hash-verified

23}
24
25export function isDeclarationFile(filename) {
26 return toRepoRelative(filename).endsWith(".d.ts");
27}
28
29export function unwrapExpression(node) {
30 let current = node;

Callers 2

shouldCheckFunction · 0.90
createFunction · 0.90

Calls 1

toRepoRelativeFunction · 0.85

Tested by

no test coverage detected