Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# typescript-type-guards

<p align="center">
<img src="public/img/typescript-type-guard-logo.png" alt="typescript-type-guards logo" />

Copilot AI Mar 31, 2026

Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The image is referenced via a relative path (public/img/...). Since package.json only publishes dist in the files array, public/ won’t be included in the npm package and the logo will be broken on the npm README page. Consider switching src to an absolute GitHub raw/asset URL, or include public/img in the published package (update files in package.json) so the relative link can resolve.

Suggested change
<img src="public/img/typescript-type-guard-logo.png" alt="typescript-type-guards logo" />
<img src="https://raw.githubusercontent.com/OWNER/REPO/main/public/img/typescript-type-guard-logo.png" alt="typescript-type-guards logo" />

Copilot uses AI. Check for mistakes.
</p>

Reusable TypeScript type guards for narrowing `unknown` values in application and library code.

## Installation
Expand Down
Loading