From 8df608b25460742e16edbdfcaac52170a69ff0c8 Mon Sep 17 00:00:00 2001
From: ijlee2
Date: Tue, 3 Jan 2023 15:36:52 +0100
Subject: [PATCH] chore: Checked that renaming the helpers still allows name
collisions to be fixed
---
tests/dummy/app/components/edge-case.hbs | 18 ++++++++++++++++++
tests/dummy/app/components/edge-case.ts | 19 +++++++++++++++++++
tests/dummy/app/templates/index.hbs | 2 ++
3 files changed, 39 insertions(+)
create mode 100644 tests/dummy/app/components/edge-case.hbs
create mode 100644 tests/dummy/app/components/edge-case.ts
diff --git a/tests/dummy/app/components/edge-case.hbs b/tests/dummy/app/components/edge-case.hbs
new file mode 100644
index 00000000..23496cb0
--- /dev/null
+++ b/tests/dummy/app/components/edge-case.hbs
@@ -0,0 +1,18 @@
+
+ Arguments:
+ {{@aspectRatio}},
+ {{@height}},
+ {{@width}}
+
+
+
+ {{#let
+ (hash
+ aspect-ratio=(aspect-ratio) height=(height) width=(width)
+ )
+ as |obj|
+ }}
+ {{! template-lint-disable no-log }}
+ {{log obj.aspect-ratio obj.height obj.width}}
+ {{/let}}
+
\ No newline at end of file
diff --git a/tests/dummy/app/components/edge-case.ts b/tests/dummy/app/components/edge-case.ts
new file mode 100644
index 00000000..e7c97084
--- /dev/null
+++ b/tests/dummy/app/components/edge-case.ts
@@ -0,0 +1,19 @@
+import templateOnlyComponent from '@ember/component/template-only';
+
+export interface EdgeCaseComponentSignature {
+ Args: {
+ aspectRatio?: number;
+ height?: number;
+ width?: number;
+ };
+}
+
+const EdgeCaseComponent = templateOnlyComponent();
+
+export default EdgeCaseComponent;
+
+declare module '@glint/environment-ember-loose/registry' {
+ export default interface Registry {
+ EdgeCase: typeof EdgeCaseComponent;
+ }
+}
diff --git a/tests/dummy/app/templates/index.hbs b/tests/dummy/app/templates/index.hbs
index 24fe3c3a..9b936316 100644
--- a/tests/dummy/app/templates/index.hbs
+++ b/tests/dummy/app/templates/index.hbs
@@ -15,4 +15,6 @@
To see what you can do with container queries, visit one of
the examples and resize the window!
+
+
\ No newline at end of file