import { Diff } from './Diff' ; const incompatibleTypeDiffSymbol = Symbol ( 'incompatible type diff' ) ; const incompatibleTypeDiff = function ( parameters ) : IncompatibleTypeDiff { return { kind : incompatibleTypeDiffSymbol , ... parameters } ; } ; interface IncompatibleTypeDiff extends Diff { kind : typeof incompatibleTypeDiffSymbol ; actual : any ; expected : any ; } const isIncompatibleTypeDiff = function ( diff ) : diff is IncompatibleTypeDiff { return 'kind' in diff && diff . kind === incompatibleTypeDiffSymbol ; } ; export type { IncompatibleTypeDiff } ; export { incompatibleTypeDiff , isIncompatibleTypeDiff } ;