From 22a7a7bbabc974e95e761aaab543a33f510c8af2 Mon Sep 17 00:00:00 2001 From: Christopher Allen Date: Tue, 13 Jun 2023 22:14:11 +0100 Subject: [PATCH] chore(generators): Comment tweak for PR #7153 (#7156) --- generators/javascript.js | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/generators/javascript.js b/generators/javascript.js index c1af07c51..63afee0e0 100644 --- a/generators/javascript.js +++ b/generators/javascript.js @@ -104,8 +104,12 @@ export class JavascriptGenerator extends CodeGenerator { this.isInitialized = false; // Copy Order values onto instance for backwards compatibility - // while ensuring they are not part of the publically- -advertised + // while ensuring they are not part of the publically-advertised // API. + // + // TODO(#7085): deprecate these in due course. (Could initially + // replace data properties with get accessors that call + // deprecate.warn().) for (const key in Order) { this['ORDER_' + key] = Order[key]; }