Skip to content

Conversation

@dimitropoulos
Copy link
Owner

npx tsc to see it pass and npx tsgo to see it fail with:

some-ts-file.ts:1:30 - error TS7016: Could not find a declaration file for module './some-js-file'. '/tsgo-repros/some-js-file.js' implicitly has an 'any' type.

1 import { someVariable } from "./some-js-file";
                               ~~~~~~~~~~~~~~~~

Found 1 error in some-ts-file.ts:1

`npx tsc` to see it pass and `npx tsgo` to see it fail with:

```
some-ts-file.ts:1:30 - error TS7016: Could not find a declaration file for module './some-js-file'. '/tsgo-repros/some-js-file.js' implicitly has an 'any' type.

1 import { someVariable } from "./some-js-file";
                               ~~~~~~~~~~~~~~~~

Found 1 error in some-ts-file.ts:1
```
@dimitropoulos
Copy link
Owner Author

can confirm that microsoft/typescript-go#1189 fixes this

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants