Skip to content

Commit

Permalink
feat(code): remove warning unused types
Browse files Browse the repository at this point in the history
  • Loading branch information
crherman7 committed Mar 25, 2024
1 parent 9196fac commit 9557b42
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/cli/src/lib/errors.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
* console.log(result); // Output: true
* ```
*/
export function isWarning(error: Error | unknown | any): boolean {
export function isWarning(error: Error): boolean {
/**
* Checks if the error object has a 'name' property and if its type is a string.
* If not, the function returns undefined, indicating that the error is not a warning.
Expand Down

0 comments on commit 9557b42

Please sign in to comment.