Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Typed constants #34

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open

Commits on Jun 2, 2022

  1. build: add typescript

    John Sanders committed Jun 2, 2022
    Configuration menu
    Copy the full SHA
    b856b1b View commit details
    Browse the repository at this point in the history
  2. convert json consts to js, and add type defs for them

    - this is useful for dependent projects that want type safety
    - there's no way to import a json as a const type (where `subscribe` is stricter than `number`) so thats why the convert to js (see microsoft/TypeScript#32063)
    John Sanders committed Jun 2, 2022
    Configuration menu
    Copy the full SHA
    2e292ed View commit details
    Browse the repository at this point in the history