更新
This commit is contained in:
+10
@@ -0,0 +1,10 @@
|
||||
declare function truncate(
|
||||
txt: string,
|
||||
width: number,
|
||||
options?: {
|
||||
ellipsis?: string;
|
||||
separator: string;
|
||||
}
|
||||
): string;
|
||||
|
||||
export = truncate;
|
||||
Reference in New Issue
Block a user