Glint Types
ComponentLike, HelperLike and ModifierLike
ComponentLike, HelperLike and ModifierLikeWithBoundArgs and WithBoundPositionals
WithBoundArgs and WithBoundPositionals{{yield (hash banner=(component "some-banner" kind="warning"))}}import { ComponentLike } from '@glint/template';
import { SomeBannerSignature } from './some-banner';
interface MyComponentSignature {
Blocks: {
default: [{
banner: ComponentLike<{
Element: SomeBannerSignature['Element'];
Blocks: SomeBannerSignature['Blocks'];
Args:
Omit<SomeBannerSignature['Args'], 'kind'>
& { kind?: SomeBannerSignature['Args']['kind'] };
}>;
}];
};
}Advanced Types Usage
Custom Glint Entities
Type Parameters
Custom Element Attributes
Last updated