Installation
npm install --save @types/parse-full-name
Summary
This package contains type definitions for parse-full-name (https://github.com/dschnelldavis/parse-full-name).
Details
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/parse-full-name.
export type partToReturn =
| "title"
| "first"
| "middle"
| "last"
| "nick"
| "suffix"
| "error"
| "all";
export interface Name {
title?: string | undefined;
first?: string | undefined;
middle?: string | undefined;
last?: string | undefined;
nick?: string | undefined;
suffix?: string | undefined;
error?: [] | undefined;
}
export function parseFullName(
nameToParse: string,
partToReturn?: partToReturn,
fixCase?: boolean | -1 | 0 | 1,
stopOnError?: boolean | 0 | 1,
useLongLists?: boolean | 0 | 1,
): Name;
Additional Details
- Last updated: Tue, 07 Nov 2023 09:09:39 GMT
- Dependencies: none
Credits
These definitions were written by n8.