From b511efddd3898df347d138909e6b6fcd53c73d4b Mon Sep 17 00:00:00 2001
From: Christian Murphy <christian.murphy.42@gmail.com>
Date: Thu, 26 Sep 2019 10:56:31 -0700
Subject: [PATCH] refactor: upstream github-url-from-git typing to definitely
 typed (#4541)

* refactor: upstream github-url-from-git typing to definitely typed

* Update package.json

* chore: update yarn lock
---
 lib/types/github-url-from-git.d.ts | 7 -------
 package.json                       | 1 +
 yarn.lock                          | 5 +++++
 3 files changed, 6 insertions(+), 7 deletions(-)
 delete mode 100644 lib/types/github-url-from-git.d.ts

diff --git a/lib/types/github-url-from-git.d.ts b/lib/types/github-url-from-git.d.ts
deleted file mode 100644
index faf18841c4..0000000000
--- a/lib/types/github-url-from-git.d.ts
+++ /dev/null
@@ -1,7 +0,0 @@
-declare module 'github-url-from-git' {
-  interface Options {
-    extraBaseUrls?: string[];
-  }
-  function parse(uri: string, options?: Options): string;
-  export = parse;
-}
diff --git a/package.json b/package.json
index 492641acca..96deb2d8f8 100644
--- a/package.json
+++ b/package.json
@@ -174,6 +174,7 @@
     "@types/chai": "4.2.3",
     "@types/convert-hrtime": "2.0.0",
     "@types/fs-extra": "8.0.0",
+    "@types/github-url-from-git": "1.5.0",
     "@types/got": "9.6.7",
     "@types/ini": "1.3.30",
     "@types/jest": "24.0.18",
diff --git a/yarn.lock b/yarn.lock
index 041bd10306..8a6dab650c 100644
--- a/yarn.lock
+++ b/yarn.lock
@@ -1154,6 +1154,11 @@
   dependencies:
     "@types/node" "*"
 
+"@types/github-url-from-git@1.5.0":
+  version "1.5.0"
+  resolved "https://registry.yarnpkg.com/@types/github-url-from-git/-/github-url-from-git-1.5.0.tgz#cfb8fda460cf22402d4465e1caee6f9063a30fdf"
+  integrity sha512-iz6JdiKBQdaBMznEtcDna4s8rSef4e71zJ45AMTpPl3ka1JhswOLdmKgjxPO0z3S+Zk5gi3HDtbJ77PD+TfoUQ==
+
 "@types/glob@*", "@types/glob@^7.1.1":
   version "7.1.1"
   resolved "https://registry.yarnpkg.com/@types/glob/-/glob-7.1.1.tgz#aa59a1c6e3fbc421e07ccd31a944c30eba521575"
-- 
GitLab