Update svg4everybody to v2.1.9

This commit is contained in:
Bryce Osterhaus
2019-03-29 12:01:43 -07:00
parent b9a25743c3
commit 4b289dcbc2
2 changed files with 3 additions and 1 deletions
+2 -1
View File
@@ -1,6 +1,6 @@
// Type definitions for svg4everybody 2.1
// Project: https://github.com/jonathantneal/svg4everybody#readme
// Definitions by: BendingBender <https://github.com/BendingBender>
// Definitions by: BendingBender <https://github.com/BendingBender>, bryceosterhaus <https://github.com/bryceosterhaus>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
export as namespace svg4everybody;
@@ -11,6 +11,7 @@ declare function svg4everybody(options?: svg4everybody.Svg4everybodyOpts): void;
declare namespace svg4everybody {
interface Svg4everybodyOpts {
attributeName?: string;
fallback?(src: string, svg: SVGElement, use: SVGUseElement): string;
validate?(src: string, svg: SVGElement, use: SVGUseElement): boolean;
nosvg?: boolean;
@@ -13,6 +13,7 @@ svg4everybody({
});
svg4everybody({
attributeName: 'data-href',
nosvg: true,
polyfill: true
});