Skip to content

Fix internal Suspense-related typings#2117

Merged
marvinhagemeister merged 5 commits into
preactjs:masterfrom
jviide:suspense-fix
Nov 14, 2019
Merged

Fix internal Suspense-related typings#2117
marvinhagemeister merged 5 commits into
preactjs:masterfrom
jviide:suspense-fix

Conversation

@jviide

@jviide jviide commented Nov 13, 2019

Copy link
Copy Markdown
Contributor

This pull request fixes the Suspense-related types in compat/src/internal.d.ts that Yours Truly broke in #2107.

To sweeten the deal there are a couple of small code golfs that bring compat.js.gz size down by 4 bytes (from 2655 B to 2651 B) 🙂

@coveralls

coveralls commented Nov 13, 2019

Copy link
Copy Markdown

Coverage Status

Coverage increased (+0.1%) to 100.0% when pulling ae399e1 on jviide:suspense-fix into feb6c78 on preactjs:master.

@jviide jviide changed the title Suspense fix Fix internal Suspense-related typings Nov 13, 2019
@jviide

jviide commented Nov 13, 2019

Copy link
Copy Markdown
Contributor Author

Removed a bit of code that is now unnecessary, shaving off 7 B from compat.js.gz.

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.

5 participants