Skip to content

Commit

Permalink
docs: fix (#1521)
Browse files Browse the repository at this point in the history
  • Loading branch information
alexander-akait authored May 18, 2023
1 parent 0700ce8 commit f1ba0db
Showing 1 changed file with 15 additions and 7 deletions.
22 changes: 15 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -184,9 +184,17 @@ Type:
<!-- use other name to prettify since import is reserved keyword -->

```ts
type import =
type importFn =
| boolean
| { filter: (url: string, media: string, resourcePath: string) => boolean };
| {
filter: (
url: string,
media: string,
resourcePath: string,
supports?: string,
layer?: string
) => boolean;
};
```

Default: `true`
Expand Down Expand Up @@ -693,11 +701,11 @@ Type:

```ts
type mode =
| "local"
| "global"
| "pure"
| "icss"
| ((resourcePath) => "local" | "global" | "pure" | "icss"))`
| "local"
| "global"
| "pure"
| "icss"
| ((resourcePath: string) => "local" | "global" | "pure" | "icss");
```

Default: `'local'`
Expand Down

0 comments on commit f1ba0db

Please sign in to comment.