//// [tests/cases/compiler/voidAsNonAmbiguousReturnType.ts] ////
//// [voidAsNonAmbiguousReturnType_0.ts]
export function mkdirSync(path: string, mode?: number): void;
export function mkdirSync(path: string, mode?: string): void {}
//// [voidAsNonAmbiguousReturnType_1.ts]
///
import fs = require("voidAsNonAmbiguousReturnType_0");
function main() {
fs.mkdirSync('test'); // should not error - return types are the same
}
//// [voidAsNonAmbiguousReturnType_0.js]
function mkdirSync(path, mode) { }
exports.mkdirSync = mkdirSync;
//// [voidAsNonAmbiguousReturnType_1.js]
///
var fs = require("voidAsNonAmbiguousReturnType_0");
function main() {
fs.mkdirSync('test'); // should not error - return types are the same
}