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

atdts: Stub compiler warnings for unused parameters #348

Merged
merged 6 commits into from
Jul 28, 2023

Conversation

koonwen
Copy link
Contributor

@koonwen koonwen commented Jul 25, 2023

This PR adds the quick fix mentioned in issue 347

PR checklist

  • New code has tests to catch future regressions
  • Documentation is up-to-date
  • CHANGES.md is up-to-date

@koonwen koonwen changed the title atdts: add // ts-nocheck on generated files atdts: Stub compiler warnings for unused parameters Jul 25, 2023
@koonwen koonwen marked this pull request as ready for review July 25, 2023 08:13
CHANGES.md Outdated Show resolved Hide resolved
doc/atdts.rst Outdated
Comment on lines 368 to 371
Caveats
=========
* Generated typescript contains a flag telling the compiler not to run
checks on the file.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

could link to #347 to give some context

@Khady Khady merged commit 0b13b99 into ahrefs:master Jul 28, 2023
mjambon added a commit to mjambon/opam-repository that referenced this pull request Oct 16, 2023
CHANGES:

* atdts: Stop compiler errors on generated typescript (ahrefs/atd#348)
* atdts: Don't fail on `wrap` constructs (ahrefs/atd#353)
* atdcat: New option `-remove-wraps` which pretty-prints the type
  definitions without `wrap` constructs (ahrefs/atd#353)
* atdd: Add `dlang` backend to generate D code from ATD definitions (ahrefs/atd#349)
* new tool: atddiff. Compares two versions of an ATD file and reports
  possible incompatibilities in the JSON data. Atddiff ships as part of the
  `atd` package together with `atdcat` (ahrefs/atd#352, ahrefs/atd#358)
nberth pushed a commit to nberth/opam-repository that referenced this pull request Jun 18, 2024
CHANGES:

* atdts: Stop compiler errors on generated typescript (ahrefs/atd#348)
* atdts: Don't fail on `wrap` constructs (ahrefs/atd#353)
* atdcat: New option `-remove-wraps` which pretty-prints the type
  definitions without `wrap` constructs (ahrefs/atd#353)
* atdd: Add `dlang` backend to generate D code from ATD definitions (ahrefs/atd#349)
* new tool: atddiff. Compares two versions of an ATD file and reports
  possible incompatibilities in the JSON data. Atddiff ships as part of the
  `atd` package together with `atdcat` (ahrefs/atd#352, ahrefs/atd#358)
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.

2 participants