forked from tools/josh
1
0
Fork 0
josh/src/js/extensions.d.ts

8 lines
134 B
TypeScript

interface String {
trimLines(): string;
}
interface Array<T> {
sortAlphabetically(transform: (element: T) => string): T[];
}