Skip to content

Only emit declaration files with TypeScript#49

Merged
kenwheeler merged 3 commits intourql-graphql:masterfrom
DanielRosenwasser:emitDeclarationOnly
Feb 22, 2018
Merged

Only emit declaration files with TypeScript#49
kenwheeler merged 3 commits intourql-graphql:masterfrom
DanielRosenwasser:emitDeclarationOnly

Conversation

@DanielRosenwasser
Copy link
Copy Markdown
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
Copy Markdown

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
Copy Markdown
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