From 9e7c4fcc3668865b957128eb9f1a10007b664426 Mon Sep 17 00:00:00 2001 From: Gregor Martynus Date: Mon, 3 Feb 2020 11:13:14 -0800 Subject: [PATCH] test(Typescript): name `{ Octokit }` export --- test/typescript-validate.ts | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/test/typescript-validate.ts b/test/typescript-validate.ts index ed7bbddf..3c1cf265 100644 --- a/test/typescript-validate.ts +++ b/test/typescript-validate.ts @@ -1,4 +1,4 @@ -import * as Octokit from "../index"; +import { Octokit } from "../index"; import { Agent } from "http"; import { request } from "https"; const http = require("http"); @@ -11,9 +11,6 @@ export default async function() { // Check empty constructor new Octokit(); - // Check that all arguments are optional - new Octokit({}); - // for all supported options const octokit = new Octokit({ timeout: 0,