mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-12-03 11:41:44 +00:00
Fix LoaderHandler.add signature. (#9410)
Also specify `LoaderHandler.handlers` element type.
This commit is contained in:
committed by
Horiuchi_H
parent
c709db2e04
commit
e69daec7f7
Vendored
+2
-2
@@ -1928,9 +1928,9 @@ declare namespace THREE {
|
||||
}
|
||||
|
||||
export interface LoaderHandler{
|
||||
handlers: any[];
|
||||
handlers: (RegExp | Loader)[];
|
||||
|
||||
add(regex: string, loader: Loader): void;
|
||||
add(regex: RegExp, loader: Loader): void;
|
||||
get(file: string): Loader;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user