Commit 1b804a9
[postcss-global-data] Fix type for files option (#864)
* [postcss-global-data] Fix type for files option
The type for the `files` option is incorrect. Only accepting an empty array or undefined. It should be an array of strings or undefined.
* Update plugins/postcss-global-data/src/index.ts
* build + changelog
---------
Co-authored-by: Romain Menke <11521496+romainmenke@users.noreply.github.com>
Co-authored-by: Romain Menke <romainmenke@gmail.com>1 parent 47f7913 commit 1b804a9
File tree
3 files changed
+6
-2
lines changed- plugins/postcss-global-data
- dist
- src
3 files changed
+6
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
3 | 7 | | |
4 | 8 | | |
5 | 9 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
5 | | - | |
| 5 | + | |
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
7 | | - | |
| 7 | + | |
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
| |||
0 commit comments