Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Maintain @finos/perspective TypeScript Compatibility for Clientside Environments #2928

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

brianblakely
Copy link
Contributor

This PR restores the types field that was removed from this package's package.json in 7c134b3, directing to the "browser" typedef. Removing this field causes compatibility issues with projects that use the "node" algorithm for tsconfig's moduleResolution, which includes all NextJS projects.

Heads up: one outstanding issue in the current release version of perspective-js (i.e. unrelated to this PR) is that the referenced typedef for Node isn't actually created, and attempting to import from @finos/perspective/node indeed does not work for me.

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