Skip to content

Commit

Permalink
chore: Updated snapshots
Browse files Browse the repository at this point in the history
  • Loading branch information
tgreyuk committed Dec 1, 2022
1 parent f673b93 commit b85661a
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 25 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -37,13 +37,13 @@ Comment for valueA
**valueB**: \`boolean\`
\\\\-
\\-
-----
**valueC**: {}
\\\\-
\\-
-----
Expand All @@ -56,9 +56,9 @@ Multiline Comments for valueD - line2
**\`Example\`**
\`\`\`typescript
console.log(\\"This is a multi line comment with code\\")
console.log(\\"This is a multi line comment with code - line2\\")
console.log(\\"This is a multi line comment with code - line3\\")
console.log("This is a multi line comment with code")
console.log("This is a multi line comment with code - line2")
console.log("This is a multi line comment with code - line3")
\`\`\`
-----
Expand All @@ -71,13 +71,13 @@ Comment for valueX
**valueX.valueA**: \`number\`[]
\\\\-
\\-
-----
**valueX.valueZ**: \`string\`
\\\\-
\\-
-----
Expand Down Expand Up @@ -106,7 +106,7 @@ exports[`Declarations: (Render Type Literal as List) should use correct list sty
| :------ | :------ |
| \`valueA?\` | \`number\` |
| \`valueB?\` | \`boolean\` |
| \`valueC\` | { \`[dataId: string]\`: \`\`\\"ok\\"\`\` \\\\| \`\`\\"ko\\"\`\`; } |
| \`valueC\` | { \`[dataId: string]\`: \`\`"ok"\`\` \\| \`\`"ko"\`\`; } |
| \`valueD\` | \`unknown\` |
| \`valueX\` | { \`valueA\`: \`number\`[] ; \`valueY\`: (\`z\`: \`string\`) => { \`a\`: \`string\` ; \`b\`: \`string\` } ; \`valueZ\`: \`string\` } |
| \`valueX.valueA\` | \`number\`[] |
Expand All @@ -123,13 +123,13 @@ Comments for valueA
**valueB?**: \`boolean\`
\\\\-
\\-
-----
**valueC**: { \`[dataId: string]\`: \`\`\\"ok\\"\`\` \\\\| \`\`\\"ko\\"\`\`; }
**valueC**: { \`[dataId: string]\`: \`\`"ok"\`\` \\| \`\`"ko"\`\`; }
\\\\-
\\-
-----
Expand All @@ -142,9 +142,9 @@ Multiline Comments for valueD - line2
**\`Example\`**
\`\`\`typescript
console.log(\\"This is a multi line comment with code\\")
console.log(\\"This is a multi line comment with code - line2\\")
console.log(\\"This is a multi line comment with code - line3\\")
console.log("This is a multi line comment with code")
console.log("This is a multi line comment with code - line2")
console.log("This is a multi line comment with code - line3")
\`\`\`
-----
Expand All @@ -157,13 +157,13 @@ Comment for valueX
**valueX.valueA**: \`number\`[]
\\\\-
\\-
-----
**valueX.valueY**: (\`z\`: \`string\`) => { \`a\`: \`string\` ; \`b\`: \`string\` }
\\\\-
\\-
-----
Expand All @@ -175,7 +175,7 @@ Nested comment for valueZ
**valueY**: () => \`string\`
\\\\-
\\-
-----
Expand Down Expand Up @@ -354,7 +354,7 @@ description for valueY
| \`valueA\` | \`number\` | Comment for valueA |
| \`valueB\` | \`boolean\` | - |
| \`valueC\` | {} | - |
| \`valueD\` | \`string\` | Multiline Comments for valueD Multiline Comments for valueD - line2 **\`Example\`** \`\`\`typescript console.log(\\"This is a multi line comment with code\\") console.log(\\"This is a multi line comment with code - line2\\") console.log(\\"This is a multi line comment with code - line3\\") \`\`\` |
| \`valueD\` | \`string\` | Multiline Comments for valueD Multiline Comments for valueD - line2 **\`Example\`** \`\`\`typescript console.log("This is a multi line comment with code") console.log("This is a multi line comment with code - line2") console.log("This is a multi line comment with code - line3") \`\`\` |
| \`valueX\` | { \`valueA\`: \`number\`[] ; \`valueZ\`: \`string\` = 'foo' } | Comment for valueX |
| \`valueX.valueA\` | \`number\`[] | - |
| \`valueX.valueZ\` | \`string\` | - |
Expand All @@ -374,12 +374,8 @@ exports[`Declarations: should compile type literal declaration 1`] = `
| :------ | :------ | :------ |
| \`valueA?\` | \`number\` | Comments for valueA |
| \`valueB?\` | \`boolean\` | - |
<<<<<<< HEAD
| \`valueC\` | { \`[dataId: string]\`: \`\`"ok"\`\` \\| \`\`"ko"\`\`; } | - |
=======
| \`valueC\` | { \`[dataId: string]\`: \`\`\\"ok\\"\`\` \\\\| \`\`\\"ko\\"\`\`; } | - |
| \`valueD\` | \`unknown\` | Multiline Comments for valueD Multiline Comments for valueD - line2 **\`Example\`** \`\`\`typescript console.log(\\"This is a multi line comment with code\\") console.log(\\"This is a multi line comment with code - line2\\") console.log(\\"This is a multi line comment with code - line3\\") \`\`\` |
>>>>>>> 670df3140183029d23b64ce526760ff509e2041e
| \`valueD\` | \`unknown\` | Multiline Comments for valueD Multiline Comments for valueD - line2 **\`Example\`** \`\`\`typescript console.log("This is a multi line comment with code") console.log("This is a multi line comment with code - line2") console.log("This is a multi line comment with code - line3") \`\`\` |
| \`valueX\` | { \`valueA\`: \`number\`[] ; \`valueY\`: (\`z\`: \`string\`) => { \`a\`: \`string\` ; \`b\`: \`string\` } ; \`valueZ\`: \`string\` } | Comment for valueX |
| \`valueX.valueA\` | \`number\`[] | - |
| \`valueX.valueY\` | (\`z\`: \`string\`) => { \`a\`: \`string\` ; \`b\`: \`string\` } | - |
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -138,8 +138,8 @@ FOO
| Name | Type | Description |
| :------ | :------ | :------ |
| \`«destructured»\` | \`Object\` | various options |
|  › \`bar?\` | \`number\` | - |
|  › \`foo?\` | \`number\` | - |
| › \`bar?\` | \`number\` | - |
| › \`foo?\` | \`number\` | - |
| \`anotherParam\` | \`string\` | Another param comment |
##### Returns
Expand Down

0 comments on commit b85661a

Please sign in to comment.