Skip to content

Commit

Permalink
fix: type import
Browse files Browse the repository at this point in the history
  • Loading branch information
techfg committed Apr 27, 2024
1 parent da651dc commit 4d1420e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/utils.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,7 @@ export const applyTrailingSlash = (
return resolvedUrl;
};

/** @type {import('./utils').ShouldProcessFile} */
/** @type {import('./utils.d.ts').ShouldProcessFile} */
export function shouldProcessFile(npath) {
// Astro excludes files that include underscore in any segment of the path under contentDIr
// see https://github.com/withastro/astro/blob/0fec72b35cccf80b66a85664877ca9dcc94114aa/packages/astro/src/content/utils.ts#L253
Expand Down

0 comments on commit 4d1420e

Please sign in to comment.