Quantcast
Channel: ReScript Forum - Latest posts
Viewing all articles
Browse latest Browse all 2592

@throws alternative in ReScript

$
0
0

Hi,

Does ReScript have something like @throws in:

    /**
     * Returns paginated items list.
     *
     * You can use the generic T to supply a wrapper type of the crud model.
     *
     * @throws {ClientResponseError}
     */
    getList<T = M>(page?: number, perPage?: number, options?: ListOptions): Promise<ListResult<T>>;

source


Viewing all articles
Browse latest Browse all 2592

Trending Articles