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:
Tiddo Langerak
2013-10-14 14:46:58 +02:00
parent 9f71db2f1c
commit 0df63c1ab3

View File

@@ -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[]