2015-09-15 20:43:28 +02:00
|
|
|
// @module: commonjs
|
2014-07-13 01:04:16 +02:00
|
|
|
// @Filename: voidAsNonAmbiguousReturnType_0.ts
|
|
|
|
export function mkdirSync(path: string, mode?: number): void;
|
|
|
|
export function mkdirSync(path: string, mode?: string): void {}
|
|
|
|
|
|
|
|
// @Filename: voidAsNonAmbiguousReturnType_1.ts
|
|
|
|
///<reference path='voidAsNonAmbiguousReturnType_0.ts'/>
|
2015-09-15 20:43:28 +02:00
|
|
|
import fs = require("./voidAsNonAmbiguousReturnType_0");
|
2014-07-13 01:04:16 +02:00
|
|
|
|
|
|
|
function main() {
|
|
|
|
fs.mkdirSync('test'); // should not error - return types are the same
|
|
|
|
}
|