Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Stringifiable - TypeScript error: '>' expected. TS1005 #301

Closed
whacosta opened this issue Jan 7, 2021 · 1 comment
Closed

Stringifiable - TypeScript error: '>' expected. TS1005 #301

whacosta opened this issue Jan 7, 2021 · 1 comment

Comments

@whacosta
Copy link

whacosta commented Jan 7, 2021

The readonly generates compilation error

../web/node_modules/query-string/index.d.ts
TypeScript error: '>' expected.  TS1005
    344 | export type StringifiableRecord = Record<
    345 |       string,
  > 346 |       Stringifiable | readonly Stringifiable[]
        |                                ^
    347 | >;
    348 | 
    349 | /**

Stringifiable | readonly Stringifiable[]

@sindresorhus
Copy link
Owner

Upgrade your TypeScript version.

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

No branches or pull requests

2 participants