ember-svg-jar icon indicating copy to clipboard operation
ember-svg-jar copied to clipboard

feat: Add typing for glint

Open muziejus opened this issue 2 years ago • 0 comments

This commit adds two files that can be read by Ember apps using glint so that they can benefit from glint's type-checking.

I think I have included all of the possible named attributes that can get passed to the {{svg-jar}} helper.

To wit:

interface SvgJarAttrs {
  width?: string;
  height?: string;
  class?: string;
  role?: string;
  title?: string;
  desc?: string;
}

muziejus avatar May 22 '22 01:05 muziejus