Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: fisker Cheung <lionkay@gmail.com>
27 lines
613 B
Plaintext
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 |"
|
|
`;
|