Installation
npm install --save @types/license-key-gen
Summary
This package contains type definitions for license-key-gen (https://github.com/arunahk/license-key-gen).
Details
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/license-key-gen.
index.d.ts
export interface userInfo {
company: string;
street: string;
city: string;
state: string;
zip: string;
}
export interface licenseData {
info: userInfo;
prodCode: string;
appVersion: string;
osType: string;
}
export function createLicense(licenseData: licenseData): object;
export function validateLicense(licenseData: licenseData, serial: string): object;
Additional Details
- Last updated: Tue, 07 Nov 2023 09:09:38 GMT
- Dependencies: none
Credits
These definitions were written by abh80.