Use named export for compare (#3169)

This commit is contained in:
Paulus Schoutsen
2019-05-07 17:47:19 -07:00
committed by GitHub
parent 0e044acaa9
commit b9f86f735b
9 changed files with 9 additions and 9 deletions

View File

@@ -1,4 +1,4 @@
export default (a, b) => {
export const compare = (a: string, b: string) => {
if (a < b) {
return -1;
}