mirror of
https://github.com/zhigang1992/DefinitelyTyped.git
synced 2026-04-01 12:42:58 +08:00
Requirejs should also accepts an array for path values.
According to https://github.com/jrburke/requirejs/wiki/Upgrading-to-RequireJS-2.0#wiki-pathsfallbacks requirejs also accepts arrays as path values. Therefore, the type of path values is changed from string to any.
This commit is contained in:
2
requirejs/require.d.ts
vendored
2
requirejs/require.d.ts
vendored
@@ -72,7 +72,7 @@ interface RequireConfig {
|
||||
|
||||
// Path mappings for module names not found directly under
|
||||
// baseUrl.
|
||||
paths?: { [key: string]: string; };
|
||||
paths?: { [key: string]: any; };
|
||||
|
||||
// Dictionary of Shim's.
|
||||
// does not cover case of key->string[]
|
||||
|
||||
Reference in New Issue
Block a user