mirror of
https://github.com/zhigang1992/DefinitelyTyped.git
synced 2026-06-02 06:29:40 +08:00
Fix lint warnings
This commit is contained in:
2
types/react-lazylog/build/Line.d.ts
vendored
2
types/react-lazylog/build/Line.d.ts
vendored
@@ -1,7 +1,7 @@
|
||||
import { Component, ReactNode, CSSProperties, MouseEventHandler } from "react";
|
||||
|
||||
export interface LineProps {
|
||||
data: { text: string }[];
|
||||
data: Array<{ text: string }>;
|
||||
number: number;
|
||||
rowHeight: number;
|
||||
highlight?: boolean;
|
||||
|
||||
2
types/react-lazylog/build/LineContent.d.ts
vendored
2
types/react-lazylog/build/LineContent.d.ts
vendored
@@ -1,7 +1,7 @@
|
||||
import { Component, ReactNode, CSSProperties } from "react";
|
||||
|
||||
export interface LineContentProps {
|
||||
data: { text: string }[];
|
||||
data: Array<{ text: string }>;
|
||||
number: number;
|
||||
formatPart?: (text: string) => ReactNode;
|
||||
style?: CSSProperties;
|
||||
|
||||
4
types/react-lazylog/build/Loading.d.ts
vendored
4
types/react-lazylog/build/Loading.d.ts
vendored
@@ -1,5 +1,3 @@
|
||||
import { Component } from "react";
|
||||
|
||||
export interface LoadingProps {}
|
||||
|
||||
export default class Loading extends Component<LoadingProps> {}
|
||||
export default class Loading extends Component {}
|
||||
|
||||
2
types/react-lazylog/index.d.ts
vendored
2
types/react-lazylog/index.d.ts
vendored
@@ -1,4 +1,4 @@
|
||||
// Type definitions for react-lazylog 3.1.4
|
||||
// Type definitions for react-lazylog 3.1
|
||||
// Project: https://github.com/mozilla-frontend-infra/react-lazylog
|
||||
// Definitions by: Benjamin Romano <https://github.com/benjaminRomano>
|
||||
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
|
||||
|
||||
@@ -16,7 +16,10 @@
|
||||
"files": [
|
||||
"react-lazylog-tests.tsx",
|
||||
"index.d.ts",
|
||||
"lib/build/LazyLog.d.ts",
|
||||
"lib/build/LinePart.d.ts"
|
||||
"build/Line.d.ts",
|
||||
"build/LineContent.d.ts",
|
||||
"build/LineNumber.d.ts",
|
||||
"build/LinePart.d.ts",
|
||||
"build/Loading.d.ts"
|
||||
]
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user