From 7e9b130d728a7b1179a26fb2a56ede23af2ebe97 Mon Sep 17 00:00:00 2001 From: Simon H <5968653+dummdidumm@users.noreply.github.com> Date: Fri, 26 Aug 2022 13:24:11 +0200 Subject: [PATCH] update name, add comment --- src/runtime/action/index.ts | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/src/runtime/action/index.ts b/src/runtime/action/index.ts index 9c5d752f66..388f6f040e 100644 --- a/src/runtime/action/index.ts +++ b/src/runtime/action/index.ts @@ -28,7 +28,12 @@ export interface ActionReturn = Record> { update?: (parameter: Parameter) => void; destroy?: () => void; - $$attributes?: Attributes; + /** + * ### DO NOT USE THIS + * This exists solely for type-checking and has no effect at runtime. + * Set this through the `Attributes` generic instead. + */ + $$_attributes?: Attributes; } /**