export class Dependument {
  private package: string;
  private templates: string;

  constructor(options: any) {
    if (!options.path) {
      throw new Error("No path specified in options");
    }
  }
}

export class Dependument {
  private package: string;
  private templates: string;

  constructor(options: any) {
    
  }
}

--- 
+++ 
@@ -3,6 +3,8 @@
   private templates: string;
 
   constructor(options: any) {
-    
+    if (!options.path) {
+      throw new Error("No path specified in options");
+    }
   }
 }
Throw error if no path
