mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-09-12 12:10:44 +08:00
Make the second argument to node-temp.path optional.
This commit is contained in:
@@ -67,6 +67,8 @@ function testMkdirSync() {
|
||||
function testPath() {
|
||||
const p = temp.path({ suffix: "justSuffix" }, "defaultPrefix");
|
||||
p.length;
|
||||
const p2: string = temp.path("prefix");
|
||||
const p3: string = temp.path({ prefix: "prefix" });
|
||||
}
|
||||
|
||||
function testTrack() {
|
||||
|
||||
Reference in New Issue
Block a user