Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
25
export
function
isDeclarationFile(filename) {
26
return
toRepoRelative(filename).endsWith(
".d.ts"
);
27
}
28
29
export
function
unwrapExpression(node) {
30
let
current = node;
Callers
2
shouldCheck
Function · 0.90
create
Function · 0.90
Calls
1
toRepoRelative
Function · 0.85
Tested by
no test coverage detected