@dcl/playground-assets 7.8.0 → 7.8.1-14131012904.commit-6157fcb
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/dist/alpha.d.ts +9 -0
- package/dist/beta.d.ts +9 -0
- package/dist/index.bundled.d.ts +9 -0
- package/dist/index.js +5 -5
- package/dist/index.js.map +3 -3
- package/dist/playground/sdk/dcl-sdk.package.json +2 -2
- package/dist/playground-assets.d.ts +9 -0
- package/etc/playground-assets.api.json +264 -1
- package/etc/playground-assets.api.md +18 -1
- package/package.json +4 -4
package/dist/alpha.d.ts
CHANGED
@@ -6571,6 +6571,15 @@ export declare namespace ReactEcs {
|
|
6571
6571
|
}
|
6572
6572
|
}
|
6573
6573
|
const createElement: any;
|
6574
|
+
export type SetStateAction<T> = T | ((prevState: T) => T);
|
6575
|
+
export type Dispatch<T> = (action: SetStateAction<T>) => void;
|
6576
|
+
export type StateHook = <T>(initialState: T | (() => T)) => [T, Dispatch<T>];
|
6577
|
+
export type DependencyList = ReadonlyArray<any>;
|
6578
|
+
export type EffectCallback = () => void | (() => void | undefined);
|
6579
|
+
export type EffectHook = (effect: EffectCallback, deps?: DependencyList) => void;
|
6580
|
+
const useEffect: EffectHook;
|
6581
|
+
const useState: StateHook;
|
6582
|
+
{};
|
6574
6583
|
}
|
6575
6584
|
|
6576
6585
|
/**
|
package/dist/beta.d.ts
CHANGED
@@ -6543,6 +6543,15 @@ export declare namespace ReactEcs {
|
|
6543
6543
|
}
|
6544
6544
|
}
|
6545
6545
|
const createElement: any;
|
6546
|
+
export type SetStateAction<T> = T | ((prevState: T) => T);
|
6547
|
+
export type Dispatch<T> = (action: SetStateAction<T>) => void;
|
6548
|
+
export type StateHook = <T>(initialState: T | (() => T)) => [T, Dispatch<T>];
|
6549
|
+
export type DependencyList = ReadonlyArray<any>;
|
6550
|
+
export type EffectCallback = () => void | (() => void | undefined);
|
6551
|
+
export type EffectHook = (effect: EffectCallback, deps?: DependencyList) => void;
|
6552
|
+
const useEffect: EffectHook;
|
6553
|
+
const useState: StateHook;
|
6554
|
+
{};
|
6546
6555
|
}
|
6547
6556
|
|
6548
6557
|
/**
|
package/dist/index.bundled.d.ts
CHANGED
@@ -6543,6 +6543,15 @@ export declare namespace ReactEcs {
|
|
6543
6543
|
}
|
6544
6544
|
}
|
6545
6545
|
const createElement: any;
|
6546
|
+
export type SetStateAction<T> = T | ((prevState: T) => T);
|
6547
|
+
export type Dispatch<T> = (action: SetStateAction<T>) => void;
|
6548
|
+
export type StateHook = <T>(initialState: T | (() => T)) => [T, Dispatch<T>];
|
6549
|
+
export type DependencyList = ReadonlyArray<any>;
|
6550
|
+
export type EffectCallback = () => void | (() => void | undefined);
|
6551
|
+
export type EffectHook = (effect: EffectCallback, deps?: DependencyList) => void;
|
6552
|
+
const useEffect: EffectHook;
|
6553
|
+
const useState: StateHook;
|
6554
|
+
{};
|
6546
6555
|
}
|
6547
6556
|
|
6548
6557
|
/**
|