Skip to content

Commit

Permalink
Bugfix
Browse files Browse the repository at this point in the history
  • Loading branch information
mattpocock committed Feb 19, 2023
1 parent 2adc749 commit 7460c2f
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 2 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# @total-typescript/ts-reset

## 0.3.1

### Patch Changes

- Fixed a bug where Array.includes was returning a predicate, which gave false positives.

## 0.3.0

### Minor Changes
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@total-typescript/ts-reset",
"version": "0.3.0",
"version": "0.3.1",
"description": "A CSS reset for TypeScript, improving types for common JavaScript API's",
"private": false,
"repository": "https://github.com/total-typescript/ts-reset",
Expand Down
2 changes: 1 addition & 1 deletion src/entrypoints/array-includes.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,5 +11,5 @@ interface Array<T> {
includes(
searchElement: T | (TSReset.WidenLiteral<T> & {}),
fromIndex?: number,
): searchElement is T;
): boolean;
}

0 comments on commit 7460c2f

Please sign in to comment.