-
Notifications
You must be signed in to change notification settings - Fork 12
chore: Using prepare package lock script from build tools #155
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
base: main
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Large diffs are not rendered by default.
This file was deleted.
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -269,7 +269,7 @@ for the user to recover from the error.", | |
| }, | ||
| { | ||
| "inlineType": { | ||
| "name": "NonCancelableEventHandler<{}>", | ||
| "name": "NonCancelableEventHandler", | ||
|
Member
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This is caused by TS version upgrade. |
||
| "parameters": [ | ||
| { | ||
| "name": "event", | ||
|
|
@@ -281,7 +281,7 @@ for the user to recover from the error.", | |
| }, | ||
| "name": "onRecoveryClick", | ||
| "optional": true, | ||
| "type": "NonCancelableEventHandler<{}>", | ||
| "type": "NonCancelableEventHandler", | ||
| }, | ||
| { | ||
| "inlineType": { | ||
|
|
@@ -923,7 +923,7 @@ for the user to recover from the error.", | |
| }, | ||
| { | ||
| "inlineType": { | ||
| "name": "NonCancelableEventHandler<{}>", | ||
| "name": "NonCancelableEventHandler", | ||
| "parameters": [ | ||
| { | ||
| "name": "event", | ||
|
|
@@ -935,7 +935,7 @@ for the user to recover from the error.", | |
| }, | ||
| "name": "onRecoveryClick", | ||
| "optional": true, | ||
| "type": "NonCancelableEventHandler<{}>", | ||
| "type": "NonCancelableEventHandler", | ||
| }, | ||
| { | ||
| "inlineType": { | ||
|
|
@@ -1718,7 +1718,7 @@ for the user to recover from the error.", | |
| }, | ||
| { | ||
| "inlineType": { | ||
| "name": "NonCancelableEventHandler<{}>", | ||
| "name": "NonCancelableEventHandler", | ||
| "parameters": [ | ||
| { | ||
| "name": "event", | ||
|
|
@@ -1730,7 +1730,7 @@ for the user to recover from the error.", | |
| }, | ||
| "name": "onRecoveryClick", | ||
| "optional": true, | ||
| "type": "NonCancelableEventHandler<{}>", | ||
| "type": "NonCancelableEventHandler", | ||
| }, | ||
| { | ||
| "inlineType": { | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,6 +1,8 @@ | ||
| // Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. | ||
| // SPDX-License-Identifier: Apache-2.0 | ||
|
|
||
| /* eslint-disable @vitest/no-conditional-expect */ | ||
|
Member
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This rule was added to recommended configs, see: vitest-dev/eslint-plugin-vitest@bc95b10#diff-a2a171449d862fe29692ce031981047d7ab755ae7f84c707aef80701b3ea0c80R106 |
||
|
|
||
| import highcharts from "highcharts"; | ||
|
|
||
| import "highcharts/highcharts-more"; | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -215,6 +215,10 @@ export function getVisibleLegendItems(options: Highcharts.Options) { | |
| }; | ||
|
|
||
| options.series?.forEach((series) => { | ||
| if (!("type" in series)) { | ||
|
Member
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. The Highcharts series option type was extended with UnknownSeriesOptionsType, which does not include the |
||
| return; | ||
| } | ||
|
|
||
| // The pie series is not shown in the legend. Instead, we show pie segments (points). | ||
| if (series.type === "pie") { | ||
| if (Array.isArray(series.data)) { | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -6,6 +6,6 @@ | |
| "types": ["vite/client"], | ||
| "tsBuildInfoFile": "./.cache/e2e-tests.tsbuildinfo" | ||
| }, | ||
| "include": ["types", "test"], | ||
| "include": ["types", "test", "vite/client"], | ||
|
Member
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This fixes |
||
| "exclude": [] | ||
| } | ||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This matches the version of TS used in the main components package. It fixes a compilation error with test-utils, present after upgrading the deps.