@gwigz/slua-types 1.1.0 → 1.1.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +4 -0
- package/index.d.ts +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -35,3 +35,7 @@ Types are generated from `refs/lsl-definitions/*.yaml` by the `gen-types` tool:
|
|
|
35
35
|
```bash
|
|
36
36
|
bun run generate
|
|
37
37
|
```
|
|
38
|
+
|
|
39
|
+
## Documentation
|
|
40
|
+
|
|
41
|
+
Full API reference and usage examples are available at [slua.gwigz.link/docs/slua](https://slua.gwigz.link/docs/slua).
|
package/index.d.ts
CHANGED
|
@@ -1112,7 +1112,7 @@ declare namespace table {
|
|
|
1112
1112
|
export function clear(t: any[]): void
|
|
1113
1113
|
|
|
1114
1114
|
/** Reduces the memory usage of the table to the minimum necessary. */
|
|
1115
|
-
export function shrink<V>(t: V[],
|
|
1115
|
+
export function shrink<V>(t: V[], shrinkSparse?: boolean): V[]
|
|
1116
1116
|
|
|
1117
1117
|
/** Freezes a table, making it read-only. */
|
|
1118
1118
|
export function freeze<table>(t: table): table
|