Skip to content
This repository has been archived by the owner on Jan 21, 2022. It is now read-only.

build: upgrade to TypeScript 4.0 #58

Closed
wants to merge 4 commits into from

Conversation

zernie
Copy link

@zernie zernie commented Sep 27, 2020

This PR upgrades:

  • TypeScript to 4.0
  • Node.js to 14
  • Relevant packages to the latest versions
    rollup-plugin-typescript was deprecated, so I've replaced it with rollup-plugin-typescript2. Same goes for rollup-* plugins

Notes:

  • Due to improved typechecking inference, HTMLCanvasElement, HTMLImageElement, CanvasRenderingContext2D were needed to be replaced by their platform-specific Canvas, Image, Context types.
  • Due to prettier being upgraded , diff contains some minor formatting changes

fixes "ERROR: 16:2  callable-types  Interface has only a call signature — use `type IPlatformConstructable = new () => IPlatform;` instead."
@zernie
Copy link
Author

zernie commented Oct 11, 2020

@joolean could you please take a look? I know this is a pretty big change, but I'm hoping I could get your opinion

@beheh
Copy link
Contributor

beheh commented Jan 21, 2022

Hello, thanks for wanting to contribute! Unfortunately we no longer actively maintain this project. I would suggest creating your own fork of it.

@beheh beheh closed this Jan 21, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants