2015-09-15 20:43:28 +02:00
|
|
|
// @module: commonjs
|
2014-07-13 01:04:16 +02:00
|
|
|
// @Filename: externalModuleRefernceResolutionOrderInImportDeclaration_file1.ts
|
|
|
|
export function foo() { };
|
|
|
|
|
|
|
|
// @Filename: externalModuleRefernceResolutionOrderInImportDeclaration_file2.ts
|
|
|
|
declare module "externalModuleRefernceResolutionOrderInImportDeclaration_file1" {
|
|
|
|
export function bar();
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
// @Filename: externalModuleRefernceResolutionOrderInImportDeclaration_file3.ts
|
|
|
|
///<reference path='externalModuleRefernceResolutionOrderInImportDeclaration_file2.ts'/>
|
2015-09-15 20:43:28 +02:00
|
|
|
import file1 = require('./externalModuleRefernceResolutionOrderInImportDeclaration_file1');
|
2014-07-13 01:04:16 +02:00
|
|
|
file1.foo();
|
|
|
|
file1.bar();
|
|
|
|
|