Skip to content

Commit

Permalink
Version Packages (#9)
Browse files Browse the repository at this point in the history
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
  • Loading branch information
seek-oss-ci and github-actions[bot] authored May 25, 2023
1 parent 13dd09e commit 0aa6861
Show file tree
Hide file tree
Showing 3 changed files with 28 additions and 26 deletions.
25 changes: 0 additions & 25 deletions .changeset/late-worms-change.md

This file was deleted.

27 changes: 27 additions & 0 deletions CHANGELOG.md
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
```
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "tsconfig-seek",
"version": "1.0.2",
"version": "2.0.0",
"description": "TSLint configuration used by SEEK",
"main": "tsconfig.json",
"files": [
Expand Down

0 comments on commit 0aa6861

Please sign in to comment.