Skip to content

Commit a7f81cf

Browse files
chore: add missing type annotation
1 parent 3e89ec2 commit a7f81cf

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

scripts/post-build.mjs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,9 @@ for (const filename of targets) {
1414
await relativeTypePaths(filename)
1515
}
1616

17+
/**
18+
* @param {string} filename
19+
*/
1720
async function relativeTypePaths(filename) {
1821
let content = await readFile(filename, 'utf8')
1922
if (!content.includes('pdfjs-dist/types')) {

0 commit comments

Comments
 (0)