Contributed to open source
Improved TypeScript comments

  • removed some `// @ts-ignore`
  • replaced other `// @ts-ignore` with `// @ts-expect-error`
  • fixed some `// @ts-expect-error`