fix some anys (#53789)
This commit is contained in:
@@ -13,7 +13,7 @@ interface CircularOptions {
|
||||
*/
|
||||
export class CircularDataFrame<T = any> extends MutableDataFrame<T> {
|
||||
constructor(options: CircularOptions) {
|
||||
super(undefined, (buffer?: any[]) => {
|
||||
super(undefined, (buffer) => {
|
||||
return new CircularVector({
|
||||
...options,
|
||||
buffer,
|
||||
|
||||
@@ -92,7 +92,7 @@ export function compareArrayValues<T>(a: T[], b: T[], cmp: (a: T, b: T) => boole
|
||||
return true;
|
||||
}
|
||||
|
||||
type Cmp = (valA: any, valB: any) => boolean;
|
||||
type Cmp = (valA: unknown, valB: unknown) => boolean;
|
||||
|
||||
const defaultCmp: Cmp = (a, b) => a === b;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user