Skip to content

Commit

Permalink
add ansicolors (#37)
Browse files Browse the repository at this point in the history
This adds type definition for the ansicolors library.

* GitHub: https://github.com/kikito/ansicolors.lua
* Luarocks: https://luarocks.org/modules/kikito/ansicolors
  • Loading branch information
Aire-One authored Aug 16, 2022
1 parent 9dc8219 commit 7e39b7d
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions types/ansicolors/ansicolors.d.tl
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
local record ansicolors
noReset: function(str: string): string
metamethod __call: function(_: ansicolors, str: string): string
end

return ansicolors

0 comments on commit 7e39b7d

Please sign in to comment.