Skip to content

Commit 134346e

Browse files
committed
2 parents 45c02a9 + 5d30323 commit 134346e

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

docs/settings.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@
22

33
There are very few settings in Structura because almost everything is active by default
44

5-
## Enable strict copy (for non enurable properties)
5+
## Enable strict copy (for non-enumerable properties)
66

7-
The default algorythm for creating a shallow copy is fast but ignores non enumerable properties. This could be a problem with some libraries like vue and mobx which trap the values. In order to solve this problem, just enable strict copy:
7+
The default algorithm for creating a shallow copy is fast, but ignores non-enumerable properties. This could be a problem with some libraries like vue and mobx which trap the values. In order to solve this problem, just enable strict copy:
88

99
```typescript
1010
import { enableStrictCopy } from "structurajs";
@@ -16,4 +16,4 @@ To revert the setting:
1616

1717
```typescript
1818
enableStrictCopy(false);
19-
```
19+
```

0 commit comments

Comments
 (0)