|
|
@@ -16,6 +16,6 @@ export interface IEllipsisProps {
|
|
|
}
|
|
|
|
|
|
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> {}
|