Skip to content

Commit 24e619d

Browse files
authored
Merge pull request #7 from martinsoenen/master
Update typos in index.ts
2 parents da8c053 + a079067 commit 24e619d

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/runtime/defineResource/index.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -126,9 +126,9 @@ const defineResource = <T>(resourceName: string, preset: IResourcePreset<T> = {}
126126

127127

128128
/**
129-
* @description Force delete resources by their IDs.
130-
* @param {number[]} ids The IDs of the resources to force delete.
131-
* @returns {Promise<any>} The result of the force delete operation.
129+
* @description Restore resources by their IDs.
130+
* @param {number[]} ids The IDs of the resources to restore.
131+
* @returns {Promise<any>} The result of the restore operation.
132132
*/
133133
restore: (ids: number[]): Promise<any> => restore(ids, api),
134134
};

0 commit comments

Comments
 (0)