bcherny / bcherny/flow-to-typescript

`mixed` to `unknown` instead of `{}`

Open
#6 0 comments 6 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
437
Forks
40
PR merge metrics
No merged PRs in 30d

Description

TypeScript has a new `unknown` type! (not yet released, I think). It seems like a direct parallel to `mixed`.

https://github.com/Microsoft/TypeScript/pull/24439

Contributor guide

No contributing guide indexed for this repository

Research direction

No files or tests are named. Start by locating the conversion rule for Flow's `mixed` type and inspecting how it currently maps to `{}`; then check the relevant test coverage and TypeScript target support for `unknown`. Done means the conversion emits `unknown` for `mixed` and the relevant tests pass.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
tooling
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.