1.0.3 • Published 6 months ago

@types/swe-validation v1.0.3

Weekly downloads
23
License
MIT
Repository
github
Last release
6 months ago

Installation

npm install --save @types/swe-validation

Summary

This package contains type definitions for swe-validation (https://github.com/keype/swe-validation).

Details

Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/swe-validation.

index.d.ts

// Type definitions for swe-validation 1.0
// Project: https://github.com/keype/swe-validation
// Definitions by: Robert Hjalmers <https://github.com/hjalmers>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped

interface cin {
    isValid: boolean;
    corporation: {
        type: string;
        id: string;
    };
}

interface ssn {
    isValid: boolean;
    person?: {
        type: string;
        sex: string;
        ssn: string;
    } | undefined;
}

declare let validate: {
    ssn(number: number): ssn;
    cin(number: number): cin;
};
export = validate;

Additional Details

  • Last updated: Fri, 02 Jul 2021 22:33:18 GMT
  • Dependencies: none
  • Global values: none

Credits

These definitions were written by Robert Hjalmers.

1.0.2

7 months ago

1.0.3

6 months ago

1.0.1

3 years ago

1.0.0

6 years ago