TypeStat
TypeStat copied to clipboard
Converts JavaScript to TypeScript and TypeScript to better TypeScript. 🧫
```typescript let results: string[]; immediately(() => { results = ["foo"]; }); results.length; ``` This should change to `let results!: string[];` if strictNullChecking is enabled.
```typescript const [a, b] = [getOne(), getTwo()]; ``` How should this be dealt with?
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...
```typescript const other: IStringDictionary = { A: null }; ``` This should become `A: null!` or `IStringDictionary`, depending on #41. Also relevant: ```typescript const maybeKey: string | undefined = //...
```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...
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...
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...
[](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) |...
[](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) |...