Skip to content
This repository was archived by the owner on Oct 16, 2024. It is now read-only.

Commit a785f67

Browse files
committed
fixed typo
1 parent dc3daf0 commit a785f67

File tree

2 files changed

+10
-2
lines changed

2 files changed

+10
-2
lines changed

README.md

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,12 @@
1-
<img src="https://raw.githubusercontent.com/agile-ts/agile/master/static/header_background.png" alt="AgileTs">
1+
> ⚠️ **No longer actively maintained**.
2+
> In case there will be a higher demand and more known bugs in the future,
3+
> I will be happy to continue improving this project.
4+
> But as for now its stable and can be used in any sort of project.
5+
> In case you face any problem feel free open an [issue](https://github.com/agile-ts/agile/issues).
6+
>
7+
> ❓ If you've any questions feel free to start a [discussions](https://github.com/agile-ts/agile/discussions).
8+
9+
<img src="https://raw.githubusercontent.com/agile-ts/agile/master/static/header_background.png" alt="AgileTs">
210

311
> Global State and Logic Library
412

packages/utils/src/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -273,7 +273,7 @@ export function createArrayFromObject<P = any>(object: {
273273
export function clone<T = any>(instance: T): T {
274274
// Clone Class
275275
const objectCopy: T = Object.create(Object.getPrototypeOf(instance));
276-
const objectClone = Object.assign(objectCopy, instance);
276+
const objectClone = Object.assign(objectCopy as any, instance);
277277

278278
// Copy Properties of Class to remove flat references
279279
for (const key in objectClone) objectClone[key] = copy(objectClone[key]);

0 commit comments

Comments
 (0)