Skip to content

Commit

Permalink
Forgot types
Browse files Browse the repository at this point in the history
  • Loading branch information
yetnt committed Jun 9, 2023
1 parent c81e24e commit ffc5bf5
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 1 deletion.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@yetnt/progressbar",
"version": "1.0.0",
"version": "1.0.1",
"description": "An easy, simple and customizable string progress bar",
"main": "src/index.js",
"scripts": {
Expand Down
11 changes: 11 additions & 0 deletions src/index.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
declare function progressBar(
percentage: number,
barWidth: number,
emptyChars: string,
fullChars: string,
returnAr?: boolean,
firstEdgeOverride?: string[],
lastEdgeOverride?: string[]
): string | string[];

export = { progressBar };

0 comments on commit ffc5bf5

Please sign in to comment.