Explicitly import Buffer. Specify jsdoc local extensions

This commit is contained in:
Cohee
2024-10-10 23:36:22 +03:00
parent d52b4fbbde
commit 1616e7e067
33 changed files with 93 additions and 77 deletions

View File

@@ -1,3 +1,5 @@
import { Buffer } from 'node:buffer';
/**
* Decodes a file name from Latin1 to UTF-8.
* @param {string} str Input string