Skip to content

fix: point package types to generated declaration path#178

Open
austin-outsmart wants to merge 1 commit intoazesmway:mainfrom
austin-outsmart:fix/types-path-lib-typescript-src
Open

fix: point package types to generated declaration path#178
austin-outsmart wants to merge 1 commit intoazesmway:mainfrom
austin-outsmart:fix/types-path-lib-typescript-src

Conversation

@austin-outsmart
Copy link

@austin-outsmart austin-outsmart commented Mar 2, 2026

Summary

  • update package types entry from lib/typescript/index.d.ts to lib/typescript/src/index.d.ts

Why

TypeScript consumers hit TS7016 because the published package does not contain lib/typescript/index.d.ts, while declarations are present under lib/typescript/src/.

Repro

  1. Install @azesmway/react-native-unity@1.0.11 in a TS React Native app
  2. import UnityView from '@azesmway/react-native-unity'
  3. Run tsc --noEmit
  4. See: Could not find a declaration file for module '@azesmway/react-native-unity'

Scope

This PR is intentionally minimal and only fixes package metadata to match generated declaration output.

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.

1 participant