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,