From 437ae112b2a3aebd64049c5ae38dda6ecb1bfdda Mon Sep 17 00:00:00 2001 From: Joakim Nyman Date: Fri, 26 May 2023 13:30:52 +0300 Subject: [PATCH] Add missing argument to LinkTo component type The `replace` argument was missing from the Glint types. https://github.com/emberjs/ember.js/blob/v4.12.0/packages/@ember/-internals/glimmer/lib/components/link-to.ts#L468 --- .../environment-ember-loose/-private/intrinsics/link-to.d.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/environment-ember-loose/-private/intrinsics/link-to.d.ts b/packages/environment-ember-loose/-private/intrinsics/link-to.d.ts index 44bd4923a..c1a52bf73 100644 --- a/packages/environment-ember-loose/-private/intrinsics/link-to.d.ts +++ b/packages/environment-ember-loose/-private/intrinsics/link-to.d.ts @@ -16,6 +16,7 @@ type LinkToArgs = RequireAtLeastOne< activeClass?: string; 'current-when'?: string | boolean; preventDefault?: boolean; + replace?: boolean; tagName?: string; }, 'route' | 'model' | 'models' | 'query'