Skip to content

Missing type declarations for version 1.1 #3

@lodybo

Description

@lodybo

When using elfproef in a TypeScript project, the typings are missing.

This leads to TS prompting the following:

error TS7016: Could not find a declaration file for module 'elfproef'. '/Users/lodyborgers/dev/projects/my-project/node_modules/elfproef/dist/elfproef.node.js' implicitly has an 'any' type.
  Try `npm i --save-dev @types/elfproef` if it exists or add a new declaration (.d.ts) file containing `declare module 'elfproef';`

2 import { validateBSN } from 'elfproef';

When inspecting the package files inside the node_modules folder with the previous version, I noticed that the typings directory is missing.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions