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.

Please add OptionsInput to the fullcalendar.d.ts exports

See original GitHub issue

I just moved from using fullcalendar v3.6.2 along side @types/fullcalendar v3.5.0 to fullcalendar v3.8.0.

The conversion has gone fine with the exception of not having a type exported in the 3.8.0 type definitions file for the options to pass through to the jquery fullcalendar method. It looks like the method expects an object of type OptionsInput, but that interface isn’t exported in the main fullcalendar type definition.

For now I’ve had to pass my options with type any. It works for now, but isn’t ideal.

image

image

Thanks.

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:6 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
elebetsamercommented, Jan 10, 2018

The fullcalendar.d.ts does contain the OptionsInput, but it isn’t exported at part of the main fullcalendar module. So when you are just trying to import members from the fullcalendar module, that interface isn’t part of it.

You can see from the fullcalendar/src/exports module below, that OptionsInput isn’t part of the export.

https://github.com/fullcalendar/fullcalendar/blob/2765b9fded569c5861d28251569e1e642723210b/dist/fullcalendar.d.ts#L2608-L2611

https://github.com/fullcalendar/fullcalendar/blob/2765b9fded569c5861d28251569e1e642723210b/dist/fullcalendar.d.ts#L2566-L2577

https://github.com/fullcalendar/fullcalendar/blob/2765b9fded569c5861d28251569e1e642723210b/dist/fullcalendar.d.ts#L2455-L2511

0reactions
arshawcommented, Mar 5, 2018

released in v3.9.0

Read more comments on GitHub >

github_iconTop Results From Across the Web

fullcalendar'' has no exported member 'Options'.- getting error ...
The problem is in fullcalendar package inside ap-angular2-fullcalendar node_modules. Fullcalendar has been updated 3.8.0 but you need 3.7.0.
Read more >
fullcalendar/CHANGELOG.md - UNPKG
42, - add OptionsInput to the fullcalendar.d.ts exports (#4040, #4006). 43, - columnHeaderFormat/columnHeaderHtml/columnHeaderText in .d.ts file (#4061, ...
Read more >
Angular Component - Docs - FullCalendar
FullCalendar seamlessly integrates with the Angular 12 - 15. It provides a component that exactly matches the functionality of FullCalendar's standard API.
Read more >
How to implement FullCalendar in Angular 9/10 ? - Therichpost
Now add below code into your app.module.ts file: ... from '@fullcalendar/angular'; // useful for typechecking; export class AppComponent { .
Read more >
CHANGELOG.md - FullCalendar - Fossies
Please use the new FullCalendar Web Component package ... #4065, thx @GeekJosh); add OptionsInput to the fullcalendar.d.ts exports (#4040, #4006) ...
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