Skip to content

wagenet/glint-template-types

 
 

Repository files navigation

This package contains types that are needed by glint (temporarily).

In order to use this, you must add

import '@glint/environment-ember-loose/registry';

import { FaIconComponent } from '@gavant/glint-template-types/types/@fortawesome/ember-fontawesome/fa-icon';
import { DidInsertModifier } from '@gavant/glint-template-types/types/ember-render-modifiers/did-insert';
...
import { DidUpdateModifier } from '@gavant/glint-template-types/types/ember-render-modifiers/did-update';



declare module '@glint/environment-ember-loose/registry' {
    export default interface Registry {
        FaIcon: typeof FaIconComponent;
        'fa-icon': typeof FaIconComponent;
        'did-insert': typeof DidInsertModifier;
        ...
        'did-update': typeof DidUpdateModifier;
    }
}

to your project. Just import any types you need and add them to the registry

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • TypeScript 100.0%