diff options
| author | ST-DDT <[email protected]> | 2023-10-23 08:52:10 +0200 |
|---|---|---|
| committer | GitHub <[email protected]> | 2023-10-23 06:52:10 +0000 |
| commit | bd197037c02df63bd81b6289ecbd8769111ae7b9 (patch) | |
| tree | ee361f5ae9f5d144e18ab9306f55d929fd4d5ffa /scripts | |
| parent | 2ba232e0ebaa4a48ed6df6f7349a00d4a7097608 (diff) | |
| download | faker-bd197037c02df63bd81b6289ecbd8769111ae7b9.tar.xz faker-bd197037c02df63bd81b6289ecbd8769111ae7b9.zip | |
chore: substrings of length one (#2496)
Diffstat (limited to 'scripts')
| -rw-r--r-- | scripts/apidoc/typedoc.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/apidoc/typedoc.ts b/scripts/apidoc/typedoc.ts index 28a3db85..4a39bd33 100644 --- a/scripts/apidoc/typedoc.ts +++ b/scripts/apidoc/typedoc.ts @@ -154,7 +154,7 @@ export function extractModuleName(module: DeclarationReflection): string { export function extractModuleFieldName(module: DeclarationReflection): string { const moduleName = extractModuleName(module); - return moduleName.substring(0, 1).toLowerCase() + moduleName.substring(1); + return moduleName[0].toLowerCase() + moduleName.substring(1); } export const MISSING_DESCRIPTION = 'Missing'; |
