Skip to content
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

feature/ts-strict/qgrid-core #615

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

FinalButterfly
Copy link
Contributor

No description provided.

@@ -13,4 +13,4 @@ export declare function lineView(columnRows: ColumnView[]): string;
export declare function widthFactory(table: Table, form: Map<string, any>): number;

export declare function flattenColumns(columns: ColumnModel[]): ColumnModel[];
export declare function findLine(columns: ColumnModel[], key: string): { columns: ColumnModel[]; index: number } | null;
export declare function findLine(columns: ColumnModel[], key: string): any;
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

why it was removed?

@@ -1,7 +1,7 @@
import { Command } from '../command/command';

export declare class Composite {
static func<T, A>(list: ((...args) => T)[], reducer?: (A, T) => A, memo?: A): (...args) => A;
static func<T, A>(list: ((...args: any) => T)[], reducer?: (A: any, T: any) => A, memo?: A): (...args: any) => A;
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

strange

@@ -5,6 +5,6 @@ export declare class SelectionService {

lookup(items: any[], unit?: string): any[];
map(entries: any[]): any[];
keyFactory<K>(unit: string): (any) => K;
keyFactory<K>(unit: string): (any: any) => K;
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

strange

@@ -1,6 +1,6 @@
export declare class Fastdom {
static mutate: (task: () => void) => any;
static measure: (task: () => void) => any;
static clear(token: any);
static clear(token: any): (task: () => void) => any;
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

are u sure?

@@ -4,4 +4,4 @@ export declare const getKey: (pair: any) => string;
export declare const getIndex: (pairs: any[], pairKey: string) => number;
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm sure all any can be replaced with valud types here

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