sandstone 1.1.5 → 1.1.6

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/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "sandstone",
3
3
  "description": "Sandstone, a Typescript library for Minecraft datapacks & resource packs.",
4
- "version": "1.1.5",
4
+ "version": "1.1.6",
5
5
  "contributors": [
6
6
  {
7
7
  "name": "TheMrZZ - Florian ERNST",
package/src/utils.ts CHANGED
@@ -723,4 +723,4 @@ export type SmartRange<Min extends number, Max extends number> = (
723
723
  PositiveRange<Min, Max>
724
724
  )
725
725
 
726
- export type AllowConst<T> = T | (readonly [T])[0]
726
+ export type AllowConst<T> = T | Readonly<T>