Skip to content
This repository has been archived by the owner on Dec 5, 2024. It is now read-only.

Update how react-popper.d.ts imports PopperJS #51

Merged
merged 1 commit into from
Sep 22, 2017

Conversation

oeb25
Copy link
Contributor

@oeb25 oeb25 commented Aug 17, 2017

popper.js's TypeScript definition now exports default, so it's now throwing an error when importing with * as PopperJS from "popper.js". This is a small bug, but it prevents anyone using TypeScript from building their application.

`popper.js`'s TypeScript definition now exports default, so it's now throwing an error when importing with `* as PopperJS from "popper.js"`. This is a small bug, but it prevents anyone using TypeScript from building their application.
@pmoleri
Copy link

pmoleri commented Sep 21, 2017

Hi @souporserious, merging this PR is important to anyone using typescript.
It would also make sense to upgrade dependency popper.js to ^1.12.1 given that the new typings are in versions >= 1.11.1.

@souporserious
Copy link
Collaborator

Sorry, I've been super busy lately. I'll get this out today, thanks!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants