From 7803aa0f991d02aca44e06ee7417fc03f6f838b9 Mon Sep 17 00:00:00 2001 From: Jerel Miller Date: Mon, 1 Apr 2024 13:10:24 -0600 Subject: [PATCH] Add since block to toPromise --- src/react/internal/cache/QueryReference.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/react/internal/cache/QueryReference.ts b/src/react/internal/cache/QueryReference.ts index cec16d8313a..949a4625c80 100644 --- a/src/react/internal/cache/QueryReference.ts +++ b/src/react/internal/cache/QueryReference.ts @@ -72,6 +72,8 @@ export interface QueryReference { * // ... * } * ``` + * + * @since 3.9.0 */ toPromise(): Promise>; }