From 97ebd29707dc022cf945b7e2d8c110ca90cdb3a9 Mon Sep 17 00:00:00 2001 From: Divyansh Singh <40380293+brc-dd@users.noreply.github.com> Date: Fri, 28 Oct 2022 15:31:31 +0530 Subject: docs: add version banner (#1487) --- test/scripts/apidoc/signature.expected.json | 32 ++++++++++++++--------------- 1 file changed, 16 insertions(+), 16 deletions(-) (limited to 'test/scripts') diff --git a/test/scripts/apidoc/signature.expected.json b/test/scripts/apidoc/signature.expected.json index 62689789..05809105 100644 --- a/test/scripts/apidoc/signature.expected.json +++ b/test/scripts/apidoc/signature.expected.json @@ -13,7 +13,7 @@ ], "since": "", "returns": "number", - "examples": "
ts
faker.defaultBooleanParamMethod(c: boolean = true): number\n
\n
", + "examples": "
ts
faker.defaultBooleanParamMethod(c: boolean = true): number\n
\n
", "deprecated": false, "seeAlsos": [] }, @@ -30,7 +30,7 @@ ], "since": "", "returns": "number", - "examples": "
ts
faker.functionParamMethod(fn: (a: string) => number): number\n
\n
", + "examples": "
ts
faker.functionParamMethod(fn: (a: string) => number): number\n
\n
", "deprecated": false, "seeAlsos": [] }, @@ -47,7 +47,7 @@ ], "since": "", "returns": "string", - "examples": "
ts
faker.literalUnionParamMethod(value: 'a' | 'b' | string): string\n
\n
", + "examples": "
ts
faker.literalUnionParamMethod(value: 'a' | 'b' | string): string\n
\n
", "deprecated": false, "seeAlsos": [] }, @@ -58,7 +58,7 @@ "parameters": [], "since": "", "returns": "number", - "examples": "
ts
faker.methodWithDeprecated(): number\n
\n
", + "examples": "
ts
faker.methodWithDeprecated(): number\n
\n
", "deprecated": true, "seeAlsos": ["test.apidoc.methodWithExample()"] }, @@ -69,7 +69,7 @@ "parameters": [], "since": "", "returns": "number", - "examples": "
ts
faker.methodWithExample(): number\ntest.apidoc.methodWithExample() // 0\n
\n
", + "examples": "
ts
faker.methodWithExample(): number\ntest.apidoc.methodWithExample() // 0\n
\n
", "deprecated": false, "seeAlsos": [] }, @@ -80,7 +80,7 @@ "parameters": [], "since": "", "returns": "number", - "examples": "
ts
faker.methodWithMultipleSeeMarkers(): number\n
\n
", + "examples": "
ts
faker.methodWithMultipleSeeMarkers(): number\n
\n
", "deprecated": false, "seeAlsos": [ "test.apidoc.methodWithExample()", @@ -94,7 +94,7 @@ "parameters": [], "since": "1.0.0", "returns": "number", - "examples": "
ts
faker.methodWithSinceMarker(): number\n
\n
", + "examples": "
ts
faker.methodWithSinceMarker(): number\n
\n
", "deprecated": false, "seeAlsos": [] }, @@ -122,7 +122,7 @@ ], "since": "", "returns": "number", - "examples": "
ts
faker.multiParamMethod(a: number, b?: string, c: boolean = true): number\n
\n
", + "examples": "
ts
faker.multiParamMethod(a: number, b?: string, c: boolean = true): number\n
\n
", "deprecated": false, "seeAlsos": [] }, @@ -133,7 +133,7 @@ "parameters": [], "since": "", "returns": "number", - "examples": "
ts
faker.noParamMethod(): number\n
\n
", + "examples": "
ts
faker.noParamMethod(): number\n
\n
", "deprecated": false, "seeAlsos": [] }, @@ -150,7 +150,7 @@ ], "since": "", "returns": "number", - "examples": "
ts
faker.optionalStringParamMethod(b?: string): number\n
\n
", + "examples": "
ts
faker.optionalStringParamMethod(b?: string): number\n
\n
", "deprecated": false, "seeAlsos": [] }, @@ -195,7 +195,7 @@ ], "since": "", "returns": "number", - "examples": "
ts
faker.optionsInlineParamMethodWithDefaults(a: {\n  value: number\n} = { value: 1 }, b: {\n  value: number\n} = { value: 1 }, c: {\n  value: number\n}): number\n
\n
", + "examples": "
ts
faker.optionsInlineParamMethodWithDefaults(a: {\n  value: number\n} = { value: 1 }, b: {\n  value: number\n} = { value: 1 }, c: {\n  value: number\n}): number\n
\n
", "deprecated": false, "seeAlsos": [] }, @@ -224,7 +224,7 @@ ], "since": "", "returns": "number", - "examples": "
ts
faker.optionsInterfaceParamMethodWithDefaults(a: ParameterOptionsInterfaceA = { value: 1 }, b: ParameterOptionsInterfaceB = { value: 1 }, c: ParameterOptionsInterfaceC): number\n
\n
", + "examples": "
ts
faker.optionsInterfaceParamMethodWithDefaults(a: ParameterOptionsInterfaceA = { value: 1 }, b: ParameterOptionsInterfaceB = { value: 1 }, c: ParameterOptionsInterfaceC): number\n
\n
", "deprecated": false, "seeAlsos": [] }, @@ -261,7 +261,7 @@ ], "since": "", "returns": "number", - "examples": "
ts
faker.optionsParamMethod(options: {\n  a: number,\n  b: string,\n  c: boolean,\n  d: () => string\n}): number\n
\n
", + "examples": "
ts
faker.optionsParamMethod(options: {\n  a: number,\n  b: string,\n  c: boolean,\n  d: () => string\n}): number\n
\n
", "deprecated": false, "seeAlsos": [] }, @@ -290,7 +290,7 @@ ], "since": "", "returns": "number", - "examples": "
ts
faker.optionsTypeParamMethodWithDefaults(a: ParameterOptionsTypeA = { value: 1 }, b: ParameterOptionsTypeB = { value: 1 }, c: ParameterOptionsTypeC): number\n
\n
", + "examples": "
ts
faker.optionsTypeParamMethodWithDefaults(a: ParameterOptionsTypeA = { value: 1 }, b: ParameterOptionsTypeB = { value: 1 }, c: ParameterOptionsTypeC): number\n
\n
", "deprecated": false, "seeAlsos": [] }, @@ -307,7 +307,7 @@ ], "since": "", "returns": "number", - "examples": "
ts
faker.requiredNumberParamMethod(a: number): number\n
\n
", + "examples": "
ts
faker.requiredNumberParamMethod(a: number): number\n
\n
", "deprecated": false, "seeAlsos": [] }, @@ -324,7 +324,7 @@ ], "since": "", "returns": "string", - "examples": "
ts
faker.stringUnionParamMethod(value: 'a' | 'b'): string\n
\n
", + "examples": "
ts
faker.stringUnionParamMethod(value: 'a' | 'b'): string\n
\n
", "deprecated": false, "seeAlsos": [] } -- cgit v1.2.3