dataTypeForDataOfExactType<T extends FileData> method

FileDataType dataTypeForDataOfExactType<T extends FileData>()

Implementation

static FileDataType dataTypeForDataOfExactType<T extends FileData>() => {
      StringFileData: FileDataType.text,
      BinaryFileData: FileDataType.binary,
    }[T];