Convert common dir to TS (#2580)

* Convert common dir to TS

* Lint

* Update setup-leaflet-map.ts
This commit is contained in:
Paulus Schoutsen
2019-01-27 10:40:46 -08:00
committed by GitHub
parent 7dda98f139
commit 9299d548ba
11 changed files with 71 additions and 32 deletions

View File

@@ -0,0 +1,10 @@
export default (a, b) => {
if (a < b) {
return -1;
}
if (a > b) {
return 1;
}
return 0;
};