prettier/tests/typescript/conformance/declarationEmit/typePredicates/__snapshots__/jsfmt.spec.js.snap

34 lines
856 B
Plaintext

// Jest Snapshot v1, https://goo.gl/fbAQLP
exports[`declarationEmitThisPredicatesWithPrivateName01.ts 1`] = `
====================================options=====================================
parsers: ["typescript"]
printWidth: 80
| printWidth
=====================================input======================================
// @declaration: true
// @module: commonjs
export class C {
m(): this is D {
return this instanceof D;
}
}
class D extends C {
}
=====================================output=====================================
// @declaration: true
// @module: commonjs
export class C {
m(): this is D {
return this instanceof D;
}
}
class D extends C {}
================================================================================
`;