From 7e39b7d2d9605539de8e59396947b0e336db1fd6 Mon Sep 17 00:00:00 2001 From: Aire-One Date: Wed, 17 Aug 2022 00:58:23 +0200 Subject: [PATCH] add ansicolors (#37) This adds type definition for the ansicolors library. * GitHub: https://github.com/kikito/ansicolors.lua * Luarocks: https://luarocks.org/modules/kikito/ansicolors --- types/ansicolors/ansicolors.d.tl | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 types/ansicolors/ansicolors.d.tl diff --git a/types/ansicolors/ansicolors.d.tl b/types/ansicolors/ansicolors.d.tl new file mode 100644 index 0000000..1cc77c7 --- /dev/null +++ b/types/ansicolors/ansicolors.d.tl @@ -0,0 +1,6 @@ +local record ansicolors + noReset: function(str: string): string + metamethod __call: function(_: ansicolors, str: string): string +end + +return ansicolors