8000 TypeScript support · Issue #6 · testdouble/lockify · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
TypeScript support #6
Closed
Closed
@innermatrix

Description

@innermatrix

Here's a patch that adds TypeScript support:

diff --git a/node_modules/lockify/index.d.ts b/node_modules/lockify/index.d.ts
new file mode 100644
index 0000000..7f3188b
--- /dev/null
+++ b/node_modules/lockify/index.d.ts
@@ -0,0 +1,4 @@
+declare module 'lockify' {
+    function lockify<T extends CallableFunction>(fn: T): T;
+    export = lockify;
+}
\ No newline at end of file

This issue body was partially generated by patch-package.

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

      0