Skip to content

Commit f17b3b0

Browse files
committed
Update typescript doc comments
1 parent 714efb6 commit f17b3b0

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

src/model/AbstractStore.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -192,6 +192,8 @@ export default abstract class AbstractStore implements ObjectBase {
192192
* 'update': '/api/user/{id}/save',
193193
* 'delete': '/api/user/{id}/delete'
194194
* };
195+
*
196+
* // above is an example of the returns data
195197
*/
196198
get restUrl(): TRestConfig | undefined {
197199
return (this._config.restProxy ?? this._config.restUrl) as TRestConfig;

src/model/types/AbstractStore.d.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -217,6 +217,8 @@ export declare abstract class AbstractStore implements ObjectBase {
217217
* 'update': '/api/user/{id}/save',
218218
* 'delete': '/api/user/{id}/delete'
219219
* };
220+
*
221+
* // above is an example of the returns data
220222
*/
221223
get restUrl(): TRestConfig | undefined;
222224
set restUrl(option: TRestConfig);
@@ -311,7 +313,7 @@ export declare abstract class AbstractStore implements ObjectBase {
311313
clearData(): void;
312314

313315
/**
314-
* Reset this model state back to their initial states, ie. `loading`, etc.
316+
* Reset this model state back to their initial states, like `loading`, etc.
315317
*/
316318
resetState(): void;
317319

0 commit comments

Comments
 (0)