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

Types/Typescript support #98

Copy link
Copy link
@james-pre

Description

@james-pre
Issue body actions

Currently, Postject does not make types available for the Javascript API, so it is unwieldy to use with strict Typescript. Strict Typescript gives an error when importing from postject.

Could not find a declaration file for module 'postject'. '<NPM project root>/node_modules/postject/dist/api.js' implicitly has an 'any' type.
  Try `npm i --save-dev @types/postject` if it exists or add a new declaration (.d.ts) file containing `declare module 'postject';`ts(7016)
Reactions are currently unavailable

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    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.