SuggestCloseIdOptions
Defined in: wp-typia-project-tools/src/runtime/id-suggestions.ts:1
Properties
Section titled “Properties”maxDistance?
Section titled “maxDistance?”
optionalmaxDistance?:number
Defined in: wp-typia-project-tools/src/runtime/id-suggestions.ts:7
Maximum edit distance accepted for a suggestion.
Defaults to 2, matching the create-template typo guard.
normalize?
Section titled “normalize?”
optionalnormalize?: (value) =>string
Defined in: wp-typia-project-tools/src/runtime/id-suggestions.ts:13
Normalizes user input and candidates before comparing them.
Defaults to trimming and lowercasing for CLI id-like values.
Parameters
Section titled “Parameters”string
Returns
Section titled “Returns”string