Commit 0361beb
committed
docs(json): fix @example import path to real export
The @example in `getEditableJsonClass` imports from `@socketsecurity/lib/json`, which is not a package.json export — only `./json/edit`, `./json/format`, `./json/parse`, `./json/types` exist. Consumers copy-pasting this snippet would hit "Cannot find module" at runtime. Points at the correct subpath the test file already uses.1 parent c2011eb commit 0361beb
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
158 | 158 | | |
159 | 159 | | |
160 | 160 | | |
161 | | - | |
| 161 | + | |
162 | 162 | | |
163 | 163 | | |
164 | 164 | | |
| |||
0 commit comments