Skip to content

Commit

Permalink
Don't label _value
Browse files Browse the repository at this point in the history
  • Loading branch information
garronej committed Nov 10, 2024
1 parent 2c92f45 commit 2ab7e0c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/typeGuard.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/** https://docs.tsafe.dev/typeguard */
export function typeGuard<T>(_value: any, isMatched: boolean): _value is T {
export function typeGuard<T>(value: any, isMatched: boolean): value is T {
return isMatched;
}

0 comments on commit 2ab7e0c

Please sign in to comment.