Files
test-repo/tests/misc/errors/babel-ts/__snapshots__/jsfmt.spec.js.snap
T
dependabot[bot]andfisker Cheung d0942b8fae Build(deps): Bump @babel/code-frame from 7.12.11 to 7.12.13 (#10226)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: fisker Cheung <lionkay@gmail.com>
2021-02-04 09:42:00 +08:00

27 lines
613 B
Plaintext

// Jest Snapshot v1, https://goo.gl/fbAQLP
exports[`type-annotation-expr-statement.ts [babel-ts] format 1`] = `
"Did not expect a type annotation here. (1:3)
> 1 | (a: T);
| ^
2 |"
`;
exports[`type-annotation-func.ts [babel-ts] format 1`] = `
"Did not expect a type annotation here. (1:10)
> 1 | func<T>(a: T);
| ^
2 |"
`;
exports[`type-annotation-in-jsx.tsx [babel-ts] format 1`] = `
"Did not expect a type annotation here. (3:22)
1 | function Foo() {
2 | return (
> 3 | <div propA={[ key: value ]} propsB={(a: b)} />
| ^
4 | );
5 | }
6 |"
`;