import { StringOrNumber } from'../types';
/**
* @description an implementation for bubbleSort algorithm, it will sort an array of numbers or strings.
* @example bubbleSort([3,2,1]) // [1,2,3]
*/exportdefaultfunction bubbleSort<T extendsStringOrNumber>(arr: T[]): T[];