Skip to content

TS2554 [ERROR]: Expected 2 arguments, but got 1. #1957

@sigmaSd

Description

@sigmaSd

Steps to reproduce

a.js

export function c(a, b) {
}

b.ts

import { c } from "./a.js";

c(4);

Behavior with typescript@5.8

no error

Behavior with tsgo

TS2554 [ERROR]: Expected 2 arguments, but got 1.
c(4);

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions