0.4.0 • Published 3 months ago

@gavant/glint-template-types v0.4.0

Weekly downloads
-
License
MIT
Repository
github
Last release
3 months ago

glint-template-types

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

Installation

yarn add -D @gavant/glint-template-types

Use

In order to use this, you must import the types from this package, and manually add them to the glint registry. This addon now uses ambient declarations so you need to add the following to your tsconfig "include":

"node_modules/@gavant/glint-template-types/types/{LOCATION_HERE}" i.e."node_modules/@gavant/glint-template-types/types/ember-truth-helpers/and.d.ts" or to grab all ember-truth-helpers "node_modules/@gavant/glint-template-types/types/ember-truth-helpers/*"

import FaIconComponent from '@fortawesome/ember-fontawesome/components/fa-icon';
import DidInsertModifier from 'ember-render-modifiers/modifiers/did-insert';
...
import DidUpdateModifier from 'ember-render-modifiers/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;
    }
}
0.4.0

3 months ago

0.3.6

8 months ago

0.3.5

9 months ago

0.3.4

11 months ago

0.3.3

1 year ago

0.3.2

1 year ago

0.3.0

1 year ago

0.2.1

2 years ago

0.2.0

2 years ago

0.1.8

2 years ago

0.2.6

2 years ago

0.1.7

2 years ago

0.2.3

2 years ago

0.3.1

1 year ago

0.2.2

2 years ago

0.2.5

2 years ago

0.1.6

2 years ago

0.2.4

2 years ago

0.1.4

2 years ago

0.1.3

2 years ago

0.1.5

2 years ago

0.1.2

2 years ago

0.1.0

2 years ago

0.1.1

2 years ago

0.0.21

3 years ago

0.0.20

3 years ago

0.0.19

3 years ago

0.0.18

3 years ago

0.0.17

3 years ago

0.0.10

3 years ago

0.0.11

3 years ago

0.0.12

3 years ago

0.0.13

3 years ago

0.0.14

3 years ago

0.0.15

3 years ago

0.0.9

3 years ago

0.0.16

3 years ago

0.0.8

3 years ago

0.0.7

3 years ago

0.0.6

3 years ago

0.0.5

3 years ago

0.0.4

3 years ago

0.0.3

3 years ago

0.0.2

3 years ago

0.0.1

3 years ago