diff --git a/types/tern/index.d.ts b/types/tern/index.d.ts index ae5a793383..7ef634e6a6 100644 --- a/types/tern/index.d.ts +++ b/types/tern/index.d.ts @@ -13,4 +13,3 @@ export * from "./lib/infer"; export * from "./lib/tern"; - diff --git a/types/tern/lib/infer/index.d.ts b/types/tern/lib/infer/index.d.ts index 25bb7ab0d9..b8cc01e68f 100644 --- a/types/tern/lib/infer/index.d.ts +++ b/types/tern/lib/infer/index.d.ts @@ -193,7 +193,7 @@ export interface Constraint extends AVal { // #### Scopes #### interface ScopeConstructor { - new(parent?: Scope): Scope; + new(): Scope; new(parent: Scope, originNode: ESTree.Node): Scope; } export const Scope: ScopeConstructor;