-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
- Loading branch information
1 parent
13dd09e
commit 0aa6861
Showing
3 changed files
with
28 additions
and
26 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
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,27 @@ | ||
# tsconfig-seek | ||
|
||
## 2.0.0 | ||
|
||
### Major Changes | ||
|
||
- Default `noUncheckedIndexedAccess` to `true` ([#7](https://github.com/seek-oss/tsconfig-seek/pull/7)) | ||
|
||
This change sets the `noUncheckedIndexedAccess` compiler option to `true` by default. | ||
|
||
This flags potential issues with indexed access of arrays and records. | ||
|
||
Before: | ||
|
||
```ts | ||
const a: string[] = []; | ||
const b = a[0]; | ||
// ^? const b: string | ||
``` | ||
|
||
After: | ||
|
||
```ts | ||
const a: string[] = []; | ||
const b = a[0]; | ||
// ^? const b: string | undefined | ||
``` |
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