Skip to content

immutable default import in 5.x #1955

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

Closed
jdeniau opened this issue Aug 24, 2023 · 1 comment
Closed

immutable default import in 5.x #1955

jdeniau opened this issue Aug 24, 2023 · 1 comment

Comments

@jdeniau
Copy link
Member

jdeniau commented Aug 24, 2023

Following #1888, the default import does not exists anymore, but due to the fact that the TS / flow types files did not changed, then they are probably wrong.

@jdeniau
Copy link
Member Author

jdeniau commented Jul 31, 2024

Tried from v5-rc:

import Immutable from 'immutable';
import * as Immutable from 'immutable';
const Immutable = require('immutable');

console.log(Immutable);

Everythink works at runtime, si no need to remove anything from typing.

@jdeniau jdeniau closed this as completed Jul 31, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant