mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-10-04 06:47:03 +00:00
Test and docs use options as a string, yet dont declare it in the types (#34670)
This commit is contained in:
committed by
John Reilly
parent
15fd037678
commit
7a80ff455a
Vendored
+2
-2
@@ -389,7 +389,7 @@ declare namespace webpack {
|
||||
}
|
||||
interface NewLoader {
|
||||
loader: string;
|
||||
options?: { [name: string]: any };
|
||||
options?: { [name: string]: any } | string;
|
||||
}
|
||||
type Loader = string | OldLoader | NewLoader;
|
||||
|
||||
@@ -455,7 +455,7 @@ declare namespace webpack {
|
||||
query?: { [name: string]: any };
|
||||
}
|
||||
interface NewLoaderRule extends BaseSingleLoaderRule {
|
||||
options?: { [name: string]: any };
|
||||
options?: { [name: string]: any } | string;
|
||||
}
|
||||
type LoaderRule = OldLoaderRule | NewLoaderRule;
|
||||
interface OldUseRule extends BaseDirectRule {
|
||||
|
||||
Reference in New Issue
Block a user