Skip to content

fix: use native typescript declarations#4037

Merged
mfazekas merged 1 commit intomainfrom
mfazekas-fix-dts-entry
Oct 14, 2025
Merged

fix: use native typescript declarations#4037
mfazekas merged 1 commit intomainfrom
mfazekas-fix-dts-entry

Conversation

@mfazekas
Copy link
Contributor

@mfazekas mfazekas commented Oct 14, 2025

Description

Fixes: #4035

index.d.ts is the default extension and points to the web implementation which misses a lot of stuff. So point to native version.

Checklist

  • I've read CONTRIBUTING.md
  • I updated the doc/other generated code with running yarn generate in the root folder
  • I have tested the new feature on /example app.
    • In V11 mode/ios
    • In New Architecture mode/ios
    • In V11 mode/android
    • In New Architecture mode/android
  • I added/updated a sample - if a new feature was implemented (/example)

Screenshot OR Video

Component to reproduce the issue you're fixing

import Mapbox, { type LineLayerStyle, MapView } from '@rnmapbox/maps';
npx tsc --noEmit

@mfazekas mfazekas merged commit c7a4a75 into main Oct 14, 2025
11 checks passed
@mfazekas mfazekas deleted the mfazekas-fix-dts-entry branch October 14, 2025 13:18
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

Successfully merging this pull request may close these issues.

[Bug]: Missing Typescript declarations

1 participant