Skip to content

Commit

Permalink
update type declarations
Browse files Browse the repository at this point in the history
  • Loading branch information
kazijawad committed Jun 18, 2021
1 parent 7d05d16 commit c3154fc
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 13 deletions.
23 changes: 11 additions & 12 deletions index.d.ts
Original file line number Diff line number Diff line change
@@ -1,22 +1,21 @@
declare function svgrPlugin(options?: {
dimensions?: boolean;
expandProps?: string;
configFile?: string;
ext?: string;
icon?: boolean;
native?: boolean;
native?: boolean | object;
typescript?: boolean;
prettier?: boolean;
prettierConfig?: object;
memo?: boolean;
dimensions?: boolean;
expandProps?: string;
ref?: boolean;
memo?: boolean;
replaceAttrValues?: object;
svgProps?: object;
svgo?: boolean;
svgoConfig?: object;
template?: unknown;
titleProp?: boolean;
runtimeConfig?: boolean;
plugins?: unknown;
namedExport?: string;
template?: any;
outDir?: string;
indexTemplate?: any;
ignoreExisting?: boolean;
filenameCase?: string;
}): {
name: string;
setup(build: unknown): void;
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "esbuild-plugin-svgr",
"description": "A plugin for esbuild that enables importing *.svg files as React components.",
"version": "0.0.1",
"version": "0.0.2",
"license": "MIT",
"author": "Kazi Jawad",
"main": "index.js",
Expand Down

0 comments on commit c3154fc

Please sign in to comment.