TypeStat icon indicating copy to clipboard operation
TypeStat copied to clipboard

Converts JavaScript to TypeScript and TypeScript to better TypeScript. 🧫

Results 125 TypeStat issues
Sort by recently updated
recently updated
newest added

```typescript let results: string[]; immediately(() => { results = ["foo"]; }); results.length; ``` This should change to `let results!: string[];` if strictNullChecking is enabled.

type: bug
status: accepting prs

```typescript const [a, b] = [getOne(), getTwo()]; ``` How should this be dealt with?

status: proposal needed

It'd be nice to have documentation that shows visiting nodes and fixing up some kind of type... I only haven't added one because I can't think of one that takes...

status: proposal needed
area: documentation

```typescript const other: IStringDictionary = { A: null }; ``` This should become `A: null!` or `IStringDictionary`, depending on #41. Also relevant: ```typescript const maybeKey: string | undefined = //...

status: proposal needed
area: new fixer

```typescript function takesOptional(param: string) { if (param === undefined) { return ""; } return param; } takesOptional(undefined); ``` ...or the equivalent with a ternary or simpler if or etc. In...

status: proposal needed
status: in discussion
area: architecture

Whenever a wave is about to return mutations, the old `fileNamesAndLanguageServicesCache` is cleared. This is good for stability but bad for performance. It'd be nice to support incremental updates using...

status: accepting prs
area: architecture
area: performance

This issue lists Renovate updates and detected dependencies. Read the [Dependency Dashboard](https://docs.renovatebot.com/key-concepts/dashboard/) docs to learn more.[View this repository on the Mend.io Web Portal](https://developer.mend.io/github/JoshuaKGoldberg/TypeStat). > [!NOTE] These dependencies have not received...

[![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [@types/react](https://togithub.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/react) ([source](https://togithub.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/react)) | [`18.2.42` -> `18.2.58`](https://renovatebot.com/diffs/npm/@types%2freact/18.2.42/18.2.58) |...

[![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [@types/node](https://togithub.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/node) ([source](https://togithub.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node)) | [`20.10.3` -> `20.11.20`](https://renovatebot.com/diffs/npm/@types%2fnode/20.10.3/20.11.20) |...