import { Diff } from '../Diff' ; import { StringDiff } from '../forStrings/StringDiff' ; const symbolDiffSymbol = Symbol ( 'symbol diff' ) ; const symbolDiff = function ( parameters ) : SymbolDiff { return { kind : symbolDiffSymbol , ... parameters } ; } ; interface SymbolDiff extends Diff { kind : typeof symbolDiffSymbol ; descriptionDiff : StringDiff ; } const isSymbolDiff = function ( diff ) : diff is SymbolDiff { return 'kind' in diff && diff . kind === symbolDiffSymbol ; } ; export type { SymbolDiff } ; export { isSymbolDiff , symbolDiff } ;