typegpu 0.11.0 → 0.11.1-rc.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/data/array.d.ts CHANGED
@@ -1,5 +1,6 @@
1
1
  import { AnyWgslData, WgslArray } from "./wgslTypes.js";
2
2
  import { TgpuComptime } from "../core/function/comptime.js";
3
+
3
4
  //#region src/data/array.d.ts
4
5
  interface WgslArrayConstructor {
5
6
  <TElement extends AnyWgslData>(elementType: TElement): (elementCount: number) => WgslArray<TElement>;
@@ -21,6 +22,6 @@ interface WgslArrayConstructor {
21
22
  * @param elementType The type of elements in the array.
22
23
  * @param elementCount The number of elements in the array.
23
24
  */
24
- declare const arrayOf: TgpuComptime;
25
+ declare const arrayOf: TgpuComptime<WgslArrayConstructor>;
25
26
  //#endregion
26
27
  export { arrayOf };
package/package.js CHANGED
@@ -1,4 +1,4 @@
1
1
  //#region package.json
2
- var version = "0.11.0";
2
+ var version = "0.11.1-rc.1";
3
3
  //#endregion
4
4
  export { version };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "typegpu",
3
- "version": "0.11.0",
3
+ "version": "0.11.1-rc.1",
4
4
  "description": "A thin layer between JS and WebGPU/WGSL that improves development experience and allows for faster iteration.",
5
5
  "keywords": [
6
6
  "compute",