Skip to content

Commit 1ffb378

Browse files
committed
Replaced with symbol
1 parent 275b6db commit 1ffb378

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

packages/data-connect/src/api/Reference.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,12 +30,14 @@ export interface OpResult<Data> {
3030
fetchTime: string;
3131
}
3232

33+
const fdcSymbol = Symbol();
34+
3335
export interface OperationRef<Data, Variables> {
3436
name: string;
3537
variables: Variables;
3638
refType: ReferenceType;
3739
dataConnect: DataConnect;
38-
__keepForTypingsOnly?: Data; // Never used, just here to ensure that the Data type doesn't get erased.
40+
[fdcSymbol]: Data; // Never used, just here to ensure that the Data type doesn't get erased.
3941
}
4042

4143
export interface DataConnectResult<Data, Variables> extends OpResult<Data> {

0 commit comments

Comments
 (0)