diff options
-rw-r--r-- | src/luarocks/core/types/ordering.d.tl | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/luarocks/core/types/ordering.d.tl b/src/luarocks/core/types/ordering.d.tl new file mode 100644 index 00000000..653e267f --- /dev/null +++ b/src/luarocks/core/types/ordering.d.tl | |||
@@ -0,0 +1,10 @@ | |||
1 | local record ordering | ||
2 | record Ordering<K> | ||
3 | {K} | ||
4 | sub_orders: {K: Ordering<K>} | ||
5 | end | ||
6 | |||
7 | type SortBy<K> = table.SortFunction<K> | Ordering<K> | ||
8 | end | ||
9 | |||
10 | return ordering \ No newline at end of file | ||