82 lines
2.6 KiB
Plaintext
82 lines
2.6 KiB
Plaintext
// Jest Snapshot v1, https://goo.gl/fbAQLP
|
|
|
|
exports[`comment.js 1`] = `
|
|
====================================options=====================================
|
|
parsers: ["typescript"]
|
|
printWidth: 80
|
|
| printWidth
|
|
=====================================input======================================
|
|
export function match(): string /* the matching pattern */
|
|
a
|
|
|
|
=====================================output=====================================
|
|
export function match(): string; /* the matching pattern */
|
|
a;
|
|
|
|
================================================================================
|
|
`;
|
|
|
|
exports[`default.js 1`] = `
|
|
====================================options=====================================
|
|
parsers: ["typescript"]
|
|
printWidth: 80
|
|
| printWidth
|
|
=====================================input======================================
|
|
export default interface Foo {
|
|
readonly bar?: string;
|
|
}
|
|
|
|
=====================================output=====================================
|
|
export default interface Foo {
|
|
readonly bar?: string;
|
|
}
|
|
|
|
================================================================================
|
|
`;
|
|
|
|
exports[`export.ts 1`] = `
|
|
====================================options=====================================
|
|
parsers: ["typescript"]
|
|
printWidth: 80
|
|
| printWidth
|
|
=====================================input======================================
|
|
declare module "hello" {
|
|
export default Hello;
|
|
}
|
|
|
|
declare module "hello" {
|
|
export = Hello;
|
|
}
|
|
|
|
=====================================output=====================================
|
|
declare module "hello" {
|
|
export default Hello;
|
|
}
|
|
|
|
declare module "hello" {
|
|
export = Hello;
|
|
}
|
|
|
|
================================================================================
|
|
`;
|
|
|
|
exports[`export-class.js 1`] = `
|
|
====================================options=====================================
|
|
parsers: ["typescript"]
|
|
printWidth: 80
|
|
| printWidth
|
|
=====================================input======================================
|
|
export class A {}
|
|
export default class B {}
|
|
export abstract class C {}
|
|
export default abstract class D {}
|
|
|
|
=====================================output=====================================
|
|
export class A {}
|
|
export default class B {}
|
|
export abstract class C {}
|
|
export default abstract class D {}
|
|
|
|
================================================================================
|
|
`;
|