File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -9,12 +9,12 @@ export class StatefulArray<T> extends Array<T> {
99 private readonly _dispatchSignal ?: React . Dispatch < SetStateAction < number > >
1010 /** The update signal */
1111 private _signal : number
12- /** THe dispatch function for redefining the set */
12+ /** THe dispatch function for redefining the array */
1313 private _dispatchRedefine ?: React . Dispatch < SetStateAction < StatefulArray < T > > >
1414
1515 /**
16- * Construct a StatefulSet
17- * @param initial The initial value (parameter for a vanilla set )
16+ * Construct a StatefulArray
17+ * @param initial The initial value (parameter for a vanilla array )
1818 * @param dispatchSignal The dispatch function for the signal
1919 */
2020 constructor ( initial ?: Iterable < T > , dispatchSignal ?: StatefulArray < T > [ '_dispatchSignal' ] ) {
@@ -160,7 +160,7 @@ export class StatefulArray<T> extends Array<T> {
160160 }
161161
162162 /**
163- * Returns the set 's signal. Used for effects and memos that use this set
163+ * Returns the array 's signal. Used for effects and memos that use this array
164164 * @returns A numeric signal
165165 */
166166 override valueOf ( ) : number {
You can’t perform that action at this time.
0 commit comments