0
0
Fork 0
mirror of https://github.com/discourse/discourse.git synced 2026-08-08 17:53:55 +08:00
discourse/frontend
David Taylor b93d4420eb
DEV: Bump glint to 1.8 and drop JSDoc import() extension workarounds (#41493)
Upgrades @glint/ember-tsc from 1.5 to 1.8.11 (along with @glint/template
1.7.8 and @glint/tsserver-plugin 2.5.17), which fixes extensionless
resolution of `.gjs`/`.gts` module imports under ember-tsc's `-b`
(solution build) mode used by `lint:types`. Previously extensionless
resolution only worked in single-project mode; the solution builder
bypassed Volar's resolution hook, so imports of `.gjs`/`.gts` modules
without an explicit extension failed with TS2307.

Upstream fixes:
f1b13305e5
and
b519399e0e

With extensionless resolution now working, the `/** @type
{import("….gjs").default} */` hints placed above component imports to
force type resolution are redundant, so they are removed.

Also broadens d-otp's `onInput` parameter type from `InputEvent` to
`Event`, which glint 1.8 correctly requires for the `{{on "input" …}}`
binding: the handler must accept the generic event the modifier
provides.
2026-07-06 22:06:35 +01:00
..
asset-processor FIX: Stop asset-processor build from loading tsconfig (#41415) 2026-07-03 10:30:13 +01:00
deprecation-silencer
discourse DEV: Bump glint to 1.8 and drop JSDoc import() extension workarounds (#41493) 2026-07-06 22:06:35 +01:00
discourse-i18n FIX: Don't treat empty translations as missing for locale fallback (#41299) 2026-06-30 16:56:04 -04:00
discourse-markdown-it DEV: Bump eslint/lint-configs, and correct violations (#41321) 2026-07-01 10:39:57 +01:00
discourse-types
pretty-text
.npmrc
polyfills.js