Skip to content

Only emit declaration files with TypeScript #49

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

Merged
merged 3 commits into from
Feb 22, 2018

Conversation

DanielRosenwasser
Copy link
Contributor

In TypeScript 2.8 (and in TypeScript 2.7.2, but low-key) we added the emitDeclarationOnly flag. This flag basically says "I only want to create .d.ts files", which is basically perfect for libraries that use Babel to emit JS.

C.C. @mhegazy (and thanks @nojvek!)

@coveralls
Copy link

coveralls commented Feb 21, 2018

Pull Request Test Coverage Report for Build 79

  • 0 of 0 (NaN%) changed or added relevant lines in 0 files are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage remained the same at 96.016%

Totals Coverage Status
Change from base Build 77: 0.0%
Covered Lines: 175
Relevant Lines: 176

💛 - Coveralls

@kenwheeler
Copy link
Contributor

Niiiiiice

@kenwheeler kenwheeler merged commit 7e7616e into urql-graphql:master Feb 22, 2018
@DanielRosenwasser DanielRosenwasser deleted the emitDeclarationOnly branch February 22, 2018 22:57
kitten added a commit that referenced this pull request Feb 5, 2020
* Rewrite some small hotpaths

This rewrites some hotpaths that V8 seems to be
struggling with in particular.

* Unwrap some more loops

* Fix type in src/ast

* Replace forEachFieldNode with iterator

this approach does add .1kB min+gzip but it
helps V8 a little by replacing the (cheap-ish)
closure creation on forEachFieldNode

* Upgrade to pessimism 1.1.1

* Update invalidate operation with iterator

* Fix store test

* Add dependencies to invalidate operation

* Fix typename field invalidation and query field
kitten pushed a commit that referenced this pull request Feb 14, 2020
Bug: Add muted to video to support autoplay
kitten pushed a commit that referenced this pull request Feb 14, 2020
1. Added footer link to formidable.com
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.

3 participants