Skip to content

Typescript def #2

@vincerubinetti

Description

@vincerubinetti

I see you're already using JSdoc for the types, but might be nice to just through in a .d.ts file for convenience.

Here's my shim:

declare module "trigram-similarity" {
  const trigramSimilarity: (input1: string, input2: string) => number;
  export default trigramSimilarity;
}

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