Skip to content

Switch from Flow to TypeScript#192

Merged
PikachuEXE merged 3 commits into
masterfrom
flow-to-ts
Sep 17, 2021
Merged

Switch from Flow to TypeScript#192
PikachuEXE merged 3 commits into
masterfrom
flow-to-ts

Conversation

@PikachuEXE
Copy link
Copy Markdown
Member

@PikachuEXE PikachuEXE commented Sep 17, 2021

TypeScript is a better typing solution for JS than Flow

Other changes:

  • .eslintrc.json > .eslintrc.js (Better formatting + more flexible + comments)
  • .babelrc > babel.config.js (Better formatting + more flexible + comments)
  • js.flow > d.ts (Project specific definitions, typing & global variables)

Passing `arguments` instead of static number of arguments
It seems the number arguments does affect how the browser behaves
@PikachuEXE PikachuEXE merged commit f1dfd1a into master Sep 17, 2021
@PikachuEXE PikachuEXE deleted the flow-to-ts branch September 17, 2021 06:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant