Skip to content

plotly.js: Fix test#19193

Merged
1 commit merged into
masterfrom
plotly.js
Aug 22, 2017
Merged

plotly.js: Fix test#19193
1 commit merged into
masterfrom
plotly.js

Conversation

@ghost

@ghost ghost commented Aug 21, 2017

Copy link
Copy Markdown

The test starting with const update = { z: [[[1, 2, 3], [2, 1, 2], [1, 1, 1]], [[0, 1, 1], [0, 2, 1], [3, 2, 1]]] }; in core-tests.ts was a compile error now thanks to microsoft/TypeScript#16047.
I'm not familiar with the library, but my guess was that ScatterData needed to be updated to allow a third dimension.
Also replaced Partial<Data> with just Data since type Data = Partial<ScatterData>; already, so it doesn't need to be made partial again.

@dt-bot

dt-bot commented Aug 21, 2017

Copy link
Copy Markdown
Member

types/plotly.js/index.d.ts

to authors (@chrisgervang @martinduparc @frederikaalund @taoqf). Could you review this PR?
👍 or 👎?

Checklist

  • pass the Travis CI test?

@ghost ghost force-pushed the plotly.js branch from 2d1c5e1 to 7047337 Compare August 21, 2017 15:47
@typescript-bot

Copy link
Copy Markdown
Contributor

Approved by a listed owner. PR appears ready to merge pending express review by a maintainer.

@ghost ghost merged commit 954357f into master Aug 22, 2017
@ghost ghost deleted the plotly.js branch August 22, 2017 15:00
This pull request was closed.
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