import mergeAll from 'ramda/es/mergeAll' ; import reject from 'ramda/es/reject' ; import isNil from 'ramda/es/isNil' ; import omit from 'ramda/es/omit' ; /**
 * A set of definitions for  GenericOp attributes.
 *
 *  public export declare namespace Attributes { public export type TextValue = boolean | string | number | null ; public export type GenericValue = object | TextValue | undefined ; /**
     * A set of attributes applying to a  GenericOp .
     *
     *  public export interface Map { readonly [ k ] : GenericValue ; } remarks public export type LineType = 'normal' | 'quoted' ; } const rejectNil = reject ( isNil ) ; remarks param attributes export function mergeAttributesRight ( ... attributes ) { return rejectNil ( mergeAll < Attributes . Map [ ] > ( attributes ) ) ; } export const getTextAttributes = omit ( [ '$type' ] ) ;