mirror of
https://gitee.com/ant-design/ant-design.git
synced 2024-12-01 03:29:39 +08:00
7322aa6f5f
This reverts commit 6759887c44
.
10 lines
217 B
TypeScript
10 lines
217 B
TypeScript
const copy: ((str?: string, options?: object) => void) & {
|
|
lastStr?: string;
|
|
lastOptions?: object;
|
|
} = (str: string, options = {}) => {
|
|
copy.lastStr = str;
|
|
copy.lastOptions = options;
|
|
};
|
|
|
|
export default copy;
|