fullcalendar / temporal-polyfill

A lightweight polyfill for Temporal, successor to the JavaScript Date object
MIT License
361 stars 14 forks source link

TypeScript error in temporal-spec/index.d.ts #10

Closed weslord closed 2 years ago

weslord commented 2 years ago

Using temporal-polyfill v0.0.7 & temporal-spec v0.0.2, I get a TypeScript error when I run npx tsc:

node_modules/temporal-spec/index.d.ts:1544:4 - error TS1036: Statements are not allowed in ambient contexts.

1544   };
        ~

Found 1 error in node_modules/temporal-spec/index.d.ts:1544

Going into my node_modules folder and removing the offending semicolon seems to fix the problem.

arshaw commented 2 years ago

Thank you so much for this report. This has been fixed in the most recent release