import { GlobalSearchProviderResult } from '../../../../../plugins/global_search/common/types' ; export const createResult = ( parts ) : GlobalSearchProviderResult => ( { id : 'test' , title : 'test result' , type : 'test_type' , url : '/some-url' , score : 100 , ... parts , } ) ;