1
0
mirror of synced 2024-11-17 03:27:13 +01:00

linting and comment for readFileSync

This commit is contained in:
d98762625 2019-04-05 17:35:20 +01:00
parent d3e6200385
commit 367532cf8d
2 changed files with 7 additions and 2 deletions

View File

@ -1027,7 +1027,13 @@ class Utils {
}
/**
*
* Synchronously read the raw data from a File object.
*
* Only works in the Node environment
*
* @param {File} file - a File shim object (see src/node/File.mjs)
* @returns {ArrayBuffer} the data from the file in an ArrayBuffer
* @throws {TypeError} thrown if the method is called from a browser environment
*/
static readFileSync(file) {
if (!Utils.isNode()) {

View File

@ -5,7 +5,6 @@
*/
import DishTranslationType from "./DishTranslationType";
import Utils from "../Utils";
/**
* Translation methods for ListFile Dishes