Skip to content

Commit

Permalink
fix: πŸ› replacer preprocessor options types
Browse files Browse the repository at this point in the history
βœ… Closes: #228
  • Loading branch information
kaisermann committed Aug 30, 2020
1 parent cf9e825 commit d3543da
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "svelte-preprocess",
"version": "4.1.1",
"version": "4.1.2",
"license": "MIT",
"main": "dist/index.js",
"types": "dist/index.d.ts",
Expand Down
3 changes: 2 additions & 1 deletion src/types/options.ts
Original file line number Diff line number Diff line change
Expand Up @@ -81,5 +81,6 @@ export interface GlobalStyle {
}

export type Replace = Array<
[RegExp, string] | [RegExp, (substring: string, ...args: any[]) => string]
| [string | RegExp, string]
| [RegExp, (substring: string, ...args: any[]) => string]
>;

0 comments on commit d3543da

Please sign in to comment.