mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-11-10 00:27:41 +08:00
fix(validate): fix type errors
This commit is contained in:
3990
core/package-lock.json
generated
3990
core/package-lock.json
generated
File diff suppressed because it is too large
Load Diff
@ -41,7 +41,7 @@ export function pointerCoord(ev: any): {x: number, y: number} {
|
||||
}
|
||||
export type Side = 'start' | 'end';
|
||||
|
||||
export function entries(obj: {[s: string]: T}): [string, T][] {
|
||||
export function entries<T>(obj: {[s: string]: T}): [string, T][] {
|
||||
const ownProps = Object.keys( obj );
|
||||
let i = ownProps.length;
|
||||
const resArray = new Array(i);
|
||||
|
||||
Reference in New Issue
Block a user