Skip to content

Commit

Permalink
Allow null as arguments type (#261)
Browse files Browse the repository at this point in the history
* Update types.ts

* Add "fill" argument for {{svg-jar}} helper
  • Loading branch information
SergeAstapov committed Oct 21, 2023
1 parent dfc5e77 commit 4758d45
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions packages/ember-svg-jar/addon/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,13 @@ type SvgJarAssetId = string;
type SvgJarPositional = [SvgJarAssetId];

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

type SvgJarReturn = SVGElement;
Expand Down

0 comments on commit 4758d45

Please sign in to comment.