Skip to content

Update for Microsoft/TypeScript#30568 - #34325

Merged
sandersn merged 2 commits into
masterfrom
cleanup-20190329
Mar 29, 2019
Merged

sandersn merged 2 commits into
masterfrom
cleanup-20190329

Conversation

@sandersn

Copy link
Copy Markdown
Contributor

This PR changes some types in TS 3.5.

@sandersn

Copy link
Copy Markdown
Contributor Author
  1. I forgot that 3.4 and below will still have the old types. I'll convert the ExpectType into a type that both types can be assigned to.
  2. npm run test is running out of memory, I think when trying to test both lodash and react at the same time. Does this mean anyone with react and lodash together are going to fail to build?

Since assignability allows subtype relations
@typescript-bot typescript-bot added Popular package This PR affects a popular package (as counted by NPM download counts). The Travis CI build failed labels Mar 29, 2019
@typescript-bot

Copy link
Copy Markdown
Contributor

@sandersn Thank you for submitting this PR!

🔔 @milesj @bczengel @chrootsu @stepancar @aj-r @Ailrun @e-cloud @thorn0 @jtmthf @DomiR @johnnyreilly @bbenezech @pzavolinsky @digiguru @ericanderson @tkrotoff @DovydasNavickas @onigoetz @theruther4d @guilhermehubner @ferdaber @jrakotoharisoa @pascaloliv @Hotell @franklixuefei @Jessidhia @pshrmn @saranshkataria - please review this PR in the next few days. Be sure to explicitly select Approve or Request Changes in the GitHub UI so I know what's going on.

If no reviewer appears after a week, a DefinitelyTyped maintainer will review the PR instead.

@typescript-bot

Copy link
Copy Markdown
Contributor

@sandersn The Travis CI build failed! Please review the logs for more information.

Once you've pushed the fixes, the build will automatically re-run. Thanks!

@sandersn

Copy link
Copy Markdown
Contributor Author

Build was clean locally (after adding --max_old_space_size=16384) so I'm going to merge since this is changes only tests.

@sandersn
sandersn merged commit 693a1a8 into master Mar 29, 2019
@sandersn
sandersn deleted the cleanup-20190329 branch March 29, 2019 17:37
alesn pushed a commit to alesn/DefinitelyTyped that referenced this pull request Apr 23, 2019
* Update for microsoft/TypeScript#30568

* Use assignability instead of ExpectType

Since assignability allows subtype relations
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Popular package This PR affects a popular package (as counted by NPM download counts).

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants