=== tests/cases/compiler/exportImportMultipleFiles_userCode.ts ===
import lib = require('./exportImportMultipleFiles_library');
>lib : typeof lib

lib.math.add(3, 4); // Shouldnt be error
>lib.math.add(3, 4) : any
>lib.math.add : (a: any, b: any) => any
>lib.math : typeof lib.math
>lib : typeof lib
>math : typeof lib.math
>add : (a: any, b: any) => any
>3 : number
>4 : number

=== tests/cases/compiler/exportImportMultipleFiles_math.ts ===
export function add(a, b) { return a + b; }
>add : (a: any, b: any) => any
>a : any
>b : any
>a + b : any
>a : any
>b : any

=== tests/cases/compiler/exportImportMultipleFiles_library.ts ===
export import math = require("exportImportMultipleFiles_math");
>math : typeof math

math.add(3, 4); // OK
>math.add(3, 4) : any
>math.add : (a: any, b: any) => any
>math : typeof math
>add : (a: any, b: any) => any
>3 : number
>4 : number

