Skip to content

Commit 787e314

Browse files
authored
Merge pull request #50 from tjveldhuizen/patch-1
Correct TypeScript definition for transformSource
2 parents 230f718 + 8fd2798 commit 787e314

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

types/index.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ import { VueConstructor, PluginFunction } from 'vue';
1010
interface InlineSvgProps {
1111
src: string;
1212
title: string;
13-
transformSource: (svg: string) => string;
13+
transformSource: (svg: SVGElement) => SVGElement;
1414
keepDuringLoading: boolean;
1515
}
1616

0 commit comments

Comments
 (0)