wix / react-native-calendars

React Native Calendar Components 🗓️ 📆
MIT License
9.57k stars 2.96k forks source link

Not getting any typing, intellisense or code completions in latest version of react-native-calendars #2541

Open ucheNkadiCode opened 1 month ago

ucheNkadiCode commented 1 month ago

Please make our job easier by filling this template out to completion. If you're requesting a feature instead of reporting a bug, please feel free to skip the Environment and Reproducible Demo sections.

Description

I am using react native typescript, but as I aim to use the the demo template, it's written in all javascript and the actual code completion doesn't work. As I'm trying to add aspects to the calendar, I get no code completion

Screenshot 2024-10-11 at 7 10 19 PM

Expected Behavior

I'd expect to be able to hit Control + Space on my mac and get the full list of available attributes for a calendar. This also means I'm not getting much help when trying to implement the custom header logic

Environment

Please run these commands in the project folder and fill in their results:

Also specify:

  1. Device/emulator/simulator & OS version: Simulator iphone 13 mini 17.0

Reproducible Demo

I'm using the demo file https://github.com/wix/react-native-calendars/blob/master/example/src/screens/calendarScreen.tsx

cranberyxl commented 2 weeks ago

I'm noticing this with typescript 5.4.5 but not 5.5.x or 5.6.x.