From 0df63c1ab39276a43ad98d0852ddf9342abc2cf8 Mon Sep 17 00:00:00 2001 From: Tiddo Langerak Date: Mon, 14 Oct 2013 14:46:58 +0200 Subject: [PATCH] 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. --- requirejs/require.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/requirejs/require.d.ts b/requirejs/require.d.ts index b00c6b1cd3..75dfbe632d 100644 --- a/requirejs/require.d.ts +++ b/requirejs/require.d.ts @@ -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[]