VFileWithOutput<Result>: Result extends Value | undefined
    ? VFile
    : VFile & {
        result: Result;
    }

Type to generate a VFile corresponding to a compiler result.

If a result that is not acceptable on a VFile is used, that will be stored on the result field of VFile.

Type Parameters