question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Invalid syntax in index.d.ts (v2.3.0)

See original GitHub issue

The latest version (2.3.0) that was released just an hour ago seems to be corrupt.

../../node_modules/@react-google-maps/api/dist/index.d.ts(122,24): error TS1005: ')' expected.
../../node_modules/@react-google-maps/api/dist/index.d.ts(122,25): error TS1002: Unterminated string literal.
../../node_modules/@react-google-maps/api/dist/index.d.ts(124,9): error TS1005: ';' expected.
../../node_modules/@react-google-maps/api/dist/index.d.ts(124,22): error TS1005: ';' expected.
../../node_modules/@react-google-maps/api/dist/index.d.ts(124,34): error TS1109: Expression expected.
../../node_modules/@react-google-maps/api/dist/index.d.ts(124,59): error TS1005: ';' expected.
../../node_modules/@react-google-maps/api/dist/index.d.ts(124,68): error TS1002: Unterminated string literal.

image

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Reactions:4
  • Comments:5 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
JustFly1984commented, Sep 20, 2021

I will merge his PR asap

0reactions
JustFly1984commented, Sep 21, 2021

I’ve released 2.4.0, and also updated @types/googlemaps to @types/google.maps please test

Read more comments on GitHub >

github_iconTop Results From Across the Web

v14.6.3 has error in node_modules/@types/node/index.d.ts(20 ...
node_modules/@types/node/index.d.ts(20,1): error TS1084: Invalid 'reference' directive syntax. DefinitelyTyped/types/node/v6/index.d.ts.
Read more >
I am getting an ERROR when compiling Angular 6 project
d.ts(12,1): error TS1084: Invalid 'reference' directive syntax. node_modules/@types/node/ts3.6/base.d.
Read more >
Documentation - Triple-Slash Directives - TypeScript
Triple-slash directives are only valid at the top of their containing file. ... Use these directives only when you're authoring a d.ts file...
Read more >
Typescript Typings: The Complete Guide: @types Compiler ...
Initially we will get a few errors: node_modules/@types/es6-promise/index.d.ts(42,19): error TS2300: Duplicate identifier 'Promise'.
Read more >
node_modules/@types/cors/index.d.ts(41,52): error ts1005
One syntax that was recently added is import type and Jest v16 is only compatible with ... node_modules/@types/node/index.d.ts(20,1): error TS1084: Invalid ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found