UNPKG

ember-source

Version:

A JavaScript framework for creating ambitious web applications

21 lines (17 loc) 986 B
import '../../shared-chunks/fragment-EpVz5Xuc.js'; import '../../@glimmer/validator/index.js'; import '../../shared-chunks/reference-BNqcwZWH.js'; import { q as on$1 } from '../../shared-chunks/on-CrTl7JQU.js'; import '../../shared-chunks/constants-b-2IVErl.js'; import '../../shared-chunks/capabilities-DGmQ_mz4.js'; // In normal TypeScript, this modifier is essentially an opaque token that just // needs to be importable. Declaring it with a unique interface like this, // however, gives tools like Glint (that *do* have a richer notion of what it // is) a place to install more detailed type information. // eslint-disable-next-line @typescript-eslint/no-empty-object-type // SAFETY: at the time of writing, the cast here is from `{}` to `OnModifier`, // which makes it strictly safer to use outside this module because it is not // usable as "any non-null item", which is what `{}` means, without loss of any // information from the type itself. const on = on$1; export { on };