Skip to content

Commit 5651ea7

Browse files
committed
use a string literal for the durable object brand declaration
1 parent 60d170e commit 5651ea7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/agents/src/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -303,7 +303,7 @@ export class Agent<
303303
* expose RPC methods
304304
* @internal
305305
*/
306-
declare readonly [Rpc.__DURABLE_OBJECT_BRAND]: never;
306+
declare readonly ["__DURABLE_OBJECT_BRAND"]: never;
307307

308308
private _state = DEFAULT_STATE as State;
309309
private _disposables = new DisposableStore();

0 commit comments

Comments
 (0)