File tree Expand file tree Collapse file tree 2 files changed +14
-14
lines changed Expand file tree Collapse file tree 2 files changed +14
-14
lines changed Original file line number Diff line number Diff line change @@ -345,11 +345,11 @@ describe("transform (jsdoc)", () => {
345
345
"export default {
346
346
srcDir: {
347
347
$schema: {
348
- title: \\"\\ ",
349
- description: \\"\\ ",
348
+ title: " ",
349
+ description: " ",
350
350
tags: [],
351
- tsType: \\ "Array<'src' | 'root'>\\ ",
352
- markdownType: \\ "Array<HumanReadable>\\ "
351
+ tsType: "Array<'src' | 'root'>",
352
+ markdownType: "Array<HumanReadable>"
353
353
},
354
354
$resolve(val, get) {
355
355
return val ?? 'src';
@@ -378,11 +378,11 @@ describe("transform (jsdoc)", () => {
378
378
"export default {
379
379
srcDir: {
380
380
$schema: {
381
- title: \\"\\ ",
382
- description: \\"\\ ",
381
+ title: " ",
382
+ description: " ",
383
383
tags: [],
384
- tsType: \\ "Array<'src' | 'root'>\\ ",
385
- markdownType: \\ "Array<HumanReadable>\\ "
384
+ tsType: "Array<'src' | 'root'>",
385
+ markdownType: "Array<HumanReadable>"
386
386
},
387
387
$resolve(val, get) {
388
388
return val ?? 'src';
@@ -411,10 +411,10 @@ describe("transform (jsdoc)", () => {
411
411
srcDir: {
412
412
$default: 'src',
413
413
$schema: {
414
- title: \\"\\ ",
415
- description: \\"\\ ",
414
+ title: " ",
415
+ description: " ",
416
416
tags: [],
417
- tsType: \\ "'src' | 'root'\\ "
417
+ tsType: "'src' | 'root'"
418
418
}
419
419
},
420
420
multiline: {
Original file line number Diff line number Diff line change @@ -24,7 +24,7 @@ describe("resolveSchema", () => {
24
24
*
25
25
* this is test
26
26
*
27
- * @default \\ "test value\\ "
27
+ * @default "test value"
28
28
*/
29
29
foo: string,
30
30
},
@@ -98,7 +98,7 @@ describe("resolveSchema", () => {
98
98
/** @default [true,123] */
99
99
mixed?: Array<boolean|number>,
100
100
101
- /** @default [{\\ "foo\\ ":[123]}] */
101
+ /** @default [{"foo":[123]}] */
102
102
object?: Array<{
103
103
[key: string]: any
104
104
}>,
@@ -215,7 +215,7 @@ export interface Untyped {
215
215
expect ( schema ) . toMatchInlineSnapshot ( `
216
216
"export interface Untyped {
217
217
foo: {
218
- /** @default [\\ "first\\",\\ "second\\ ",{\\ "third\\ ":true}] */
218
+ /** @default ["first", "second",{"third":true}] */
219
219
bar: Array<string|{
220
220
[key: string]: any
221
221
}>,
You can’t perform that action at this time.
0 commit comments