diff --git a/types/nightmare/index.d.ts b/types/nightmare/index.d.ts
index d487df20f1..0b717b4555 100644
--- a/types/nightmare/index.d.ts
+++ b/types/nightmare/index.d.ts
@@ -1,5 +1,3 @@
-///
-
// Type definitions for Nightmare 1.6.6
// Project: https://github.com/segmentio/nightmare
// Definitions by: horiuchi
@@ -7,6 +5,8 @@
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
// TypeScript Version: 2.3
+///
+
declare class Nightmare {
constructor(options?: Nightmare.IConstructorOptions);
diff --git a/types/nightmare/nightmare-tests.ts b/types/nightmare/nightmare-tests.ts
index 9275e04ff2..ded854ce06 100644
--- a/types/nightmare/nightmare-tests.ts
+++ b/types/nightmare/nightmare-tests.ts
@@ -1,8 +1,6 @@
-
///
///
-
import Nightmare = require("nightmare");
new Nightmare()