UNPKG

confinode

Version:

Node application configuration reader

16 lines (15 loc) 470 B
import InternalResult from './InternalResult'; /** * A result based on real data and file name. */ export default class DirectResult<T> extends InternalResult<T> { readonly fileName?: string | undefined; readonly configuration: T; /** * Create the result. * * @param data - The result data. * @param fileName - The name of the file from which data have been extracted. */ constructor(data: T, fileName?: string | undefined); }