Comparing version 3.5.0 to 3.5.1
/*! | ||
* Chart.js v3.5.0 | ||
* Chart.js v3.5.1 | ||
* https://www.chartjs.org | ||
@@ -4,0 +4,0 @@ * (c) 2021 Chart.js Contributors |
@@ -5,3 +5,3 @@ { | ||
"description": "Simple HTML5 charts using the canvas element.", | ||
"version": "3.5.0", | ||
"version": "3.5.1", | ||
"license": "MIT", | ||
@@ -8,0 +8,0 @@ "jsdelivr": "dist/chart.min.js", |
@@ -22,10 +22,1 @@ /* eslint-disable @typescript-eslint/ban-types */ | ||
// https://stackoverflow.com/a/59463385 | ||
type TupleKeys<T extends unknown> = Exclude<keyof T, keyof []> | ||
type Foo<T extends unknown> = { | ||
[K in TupleKeys<T>]: {foo: T[K]} | ||
} | ||
type Values<T> = T[keyof T] | ||
type Unfoo<T> = T extends { foo: unknown } ? T['foo'] : never; | ||
export type IntersectItems<T extends unknown> = Unfoo<UnionToIntersection<Values<Foo<T>>>>; |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
1131260
30694