chore(deps): update dependency @types/react to v19 #2196
Annotations
6 errors and 4 warnings
src/lib/__tests__/suppressTsErrors.test.ts > suppressTsErrors > suppress ts error '\n import * as React from "rea…':
src/lib/__tests__/suppressTsErrors.test.ts#L289
AssertionError: expected '\n import * as React from "rea…' to be '\n import * as React from "rea…' // Object.is equality
- Expected
+ Received
import * as React from "react";
class Bar extends React.Component<{msg: string}> {
render() {
return <span>Bar</span>;
}
}
class Baz extends React.Component<{msg: number}> {
render() {
return <span>Baz</span>;
}
}
const Foo = (props: {bar: React.ReactElement<React.ComponentProps<typeof Bar>>}) => <div>{props.bar}</div>;
function tsxFunc() {
return (
<div>
<Foo
bar={
- // @ts-expect-error TS2769
+ // @ts-expect-error TS2322
<Baz msg="Hello">
World
</Baz>
}
/>
</div>
);
}
❯ src/lib/__tests__/suppressTsErrors.test.ts:289:27
|
test (20.x, ubuntu-latest)
Process completed with exit code 1.
|
src/lib/__tests__/suppressTsErrors.test.ts > suppressTsErrors > suppress ts error '\n import * as React from "rea…':
src/lib/__tests__/suppressTsErrors.test.ts#L289
AssertionError: expected '\n import * as React from "rea…' to be '\n import * as React from "rea…' // Object.is equality
- Expected
+ Received
import * as React from "react";
class Bar extends React.Component<{msg: string}> {
render() {
return <span>Bar</span>;
}
}
class Baz extends React.Component<{msg: number}> {
render() {
return <span>Baz</span>;
}
}
const Foo = (props: {bar: React.ReactElement<React.ComponentProps<typeof Bar>>}) => <div>{props.bar}</div>;
function tsxFunc() {
return (
<div>
<Foo
bar={
- // @ts-expect-error TS2769
+ // @ts-expect-error TS2322
<Baz msg="Hello">
World
</Baz>
}
/>
</div>
);
}
❯ src/lib/__tests__/suppressTsErrors.test.ts:289:27
|
test (22.x, ubuntu-latest)
Process completed with exit code 1.
|
src/lib/__tests__/suppressTsErrors.test.ts > suppressTsErrors > suppress ts error '\n import * as React from "rea…':
src/lib/__tests__/suppressTsErrors.test.ts#L289
AssertionError: expected '\n import * as React from "rea…' to be '\n import * as React from "rea…' // Object.is equality
- Expected
+ Received
import * as React from "react";
class Bar extends React.Component<{msg: string}> {
render() {
return <span>Bar</span>;
}
}
class Baz extends React.Component<{msg: number}> {
render() {
return <span>Baz</span>;
}
}
const Foo = (props: {bar: React.ReactElement<React.ComponentProps<typeof Bar>>}) => <div>{props.bar}</div>;
function tsxFunc() {
return (
<div>
<Foo
bar={
- // @ts-expect-error TS2769
+ // @ts-expect-error TS2322
<Baz msg="Hello">
World
</Baz>
}
/>
</div>
);
}
❯ src/lib/__tests__/suppressTsErrors.test.ts:289:27
|
test (18.x, ubuntu-latest)
Process completed with exit code 1.
|
lint
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
test (20.x, ubuntu-latest)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
test (22.x, ubuntu-latest)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
test (18.x, ubuntu-latest)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|