-
Notifications
You must be signed in to change notification settings - Fork 178
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
cache-manager:wrap() method - support options parameter and raw retur…
…n data (#998) * cache-manager:wrap() method - support options parameter and raw return data * cache-manager:wrap() method - support options parameter and raw return data - fix test complaints * cache-manager:wrap() method - support options parameter and raw return data - fix failing test * cache-manager:wrap() method - support options parameter and raw return data - fix coverage --------- Co-authored-by: Jared Wray <me@jaredwray.com>
- Loading branch information
Showing
4 changed files
with
80 additions
and
19 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
export function isObject<T = Record<string, unknown>>(value: unknown): value is T { | ||
return value !== null && typeof value === 'object' && !Array.isArray(value); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters