Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

[BUG] Paystack Typescript import not constructable #4

Copy link
Copy link
@orimdominic

Description

@orimdominic
Issue body actions

Describe the bug
Cannot construct object from Paystack import after following documentation

To Reproduce
Steps to reproduce the behavior:

  1. In a Node.js Typescript project, install @paystack/paystack-sdk
  2. 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

Screenshots
Screenshot from 2022-10-25 08-44-29

Additional context
Editor: VSCode
Node.js version: v16.17.1
Typescript version: ^4.7.4

Metadata

Metadata

Labels

bugSomething isn't workingSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions

    Morty Proxy This is a proxified and sanitized view of the page, visit original site.