node-mac-auth icon indicating copy to clipboard operation
node-mac-auth copied to clipboard

Add Typescript typings

Open Mikescops opened this issue 1 year ago • 0 comments
trafficstars

Hello,

Can you add TypeScript typings and publish them to the npmjs repo?

Here are the typings:

declare module 'node-mac-auth' {
    export function promptTouchID(params: { reason: string; reuseDuration?: number }): Promise<void>;
    export function canPromptTouchID(): boolean;
}

Mikescops avatar Mar 29 '24 15:03 Mikescops