TypeStat
TypeStat copied to clipboard
Converts JavaScript to TypeScript and TypeScript to better TypeScript. 🧫
Follows #129 as a continuation of #126.
Follows #129 as a continuation of #126.
Follows #129 as a continuation of #126.
Follows #129 as a continuation of #126.
There are some places in code where, if a type contains `ts.TypeFlags.Any`, it is ignored. The same should happen with `ts.TypeFlags.Unknown`.
I'm running against the old npm/npm repository at commit 8452a9d9b231bc6c95745bb49a4b838ce11d3b9c. ``` Error: Debug Failure. False expression: Token end is child end at processChildNode (C:\Code\typestat\node_modules\typescript\lib\typescript.js:106787:34) at C:\Code\typestat\node_modules\typescript\lib\typescript.js:106734:21 at visitNode (C:\Code\typestat\node_modules\typescript\lib\typescript.js:16135:24) at...
Talked a bit about architecture with @ian-craig. Some good feedback: > Random feedback: It might be worth sanitizing the options object early on before you pass it around. e.g. collectFileMutators...
Follows #74 and predates #50. ```typescript let numbers: number[] = [1, undefined!, 3]; ```
Right now it just assumes every parameter is a single (non-rest) parameter. Special handling should be done for last parameters of functions that are rest parameters. For example, in `linkedList.test.ts`...