diff options
| author | ST-DDT <[email protected]> | 2023-02-03 09:25:55 +0100 |
|---|---|---|
| committer | GitHub <[email protected]> | 2023-02-03 09:25:55 +0100 |
| commit | d35da058322121a4cd44159164f657814bcc62a7 (patch) | |
| tree | 8484dfbbd9bcfc1a951083e60931424ba3ccc902 /scripts/apidoc/moduleMethods.ts | |
| parent | 32b9034a7b27de2bf29668710542b1f1dc254bcb (diff) | |
| download | faker-d35da058322121a4cd44159164f657814bcc62a7.tar.xz faker-d35da058322121a4cd44159164f657814bcc62a7.zip | |
docs: show source link (#1780)
Co-authored-by: Shinigami92 <[email protected]>
Diffstat (limited to 'scripts/apidoc/moduleMethods.ts')
| -rw-r--r-- | scripts/apidoc/moduleMethods.ts | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/apidoc/moduleMethods.ts b/scripts/apidoc/moduleMethods.ts index bf7b93f9..b89e873c 100644 --- a/scripts/apidoc/moduleMethods.ts +++ b/scripts/apidoc/moduleMethods.ts @@ -9,7 +9,7 @@ import { selectApiModules, } from './typedoc'; import type { PageAndDiffIndex } from './utils'; -import { diffHash } from './utils'; +import { diffHash, methodDiffHash } from './utils'; /** * Analyzes and writes the documentation for modules and their methods such as `faker.animal.cat()`. @@ -62,7 +62,7 @@ function processModuleMethod(module: DeclarationReflection): PageAndDiffIndex { diff: methods.reduce( (data, method) => ({ ...data, - [method.name]: diffHash(method), + [method.name]: methodDiffHash(method), }), { moduleHash: diffHash({ |
