Commit e8253b06 authored by 信鑫-King's avatar 信鑫-King Committed by 陈帅

fix: Ellipsis types (#3370)

cutStrByFullLength should be string
parent 0daf0980
...@@ -16,6 +16,6 @@ export interface IEllipsisProps { ...@@ -16,6 +16,6 @@ export interface IEllipsisProps {
} }
export function getStrFullLength(str: string): number; export function getStrFullLength(str: string): number;
export function cutStrByFullLength(str: string, maxLength: number): number; export function cutStrByFullLength(str: string, maxLength: number): string;
export default class Ellipsis extends React.Component<IEllipsisProps, any> {} export default class Ellipsis extends React.Component<IEllipsisProps, any> {}
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment