-
Notifications
You must be signed in to change notification settings - Fork 6
[BUG] Paystack Typescript import not constructable #4
Copy link
Copy link
Open
Labels
bugSomething isn't workingSomething isn't working
Description
Describe the bug
Cannot construct object from Paystack import after following documentation
To Reproduce
Steps to reproduce the behavior:
- In a Node.js Typescript project, install
@paystack/paystack-sdk - Import the library following the documentation
import Paystack from '@paystack/paystack-sdk';
const paystack = new Paystack('secret);Expected behavior
There should be no errors and the returned object from the Paystack constructor should have autocomplete suggestions
Additional context
Editor: VSCode
Node.js version: v16.17.1
Typescript version: ^4.7.4
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working
