mirror of
https://github.com/signalapp/Signal-Desktop.git
synced 2026-02-14 23:18:54 +00:00
Upgrade storybook to 8
This commit is contained in:
@@ -1,13 +0,0 @@
|
||||
diff --git a/node_modules/@storybook/manager-api/dist/index.d.ts b/node_modules/@storybook/manager-api/dist/index.d.ts
|
||||
index 7afb86e..a15b801 100644
|
||||
--- a/node_modules/@storybook/manager-api/dist/index.d.ts
|
||||
+++ b/node_modules/@storybook/manager-api/dist/index.d.ts
|
||||
@@ -822,7 +822,7 @@ declare class ManagerProvider extends Component<ManagerProviderProps, State> {
|
||||
static getDerivedStateFromProps(props: ManagerProviderProps, state: State): State;
|
||||
shouldComponentUpdate(nextProps: ManagerProviderProps, nextState: State): boolean;
|
||||
initModules: () => void;
|
||||
- render(): React.JSX.Element;
|
||||
+ render(): JSX.Element;
|
||||
}
|
||||
interface ManagerConsumerProps<P = unknown> {
|
||||
filter?: (combo: Combo) => P;
|
||||
@@ -1,22 +0,0 @@
|
||||
diff --git a/node_modules/@storybook/router/dist/index.d.ts b/node_modules/@storybook/router/dist/index.d.ts
|
||||
index ed699f7..71f48eb 100644
|
||||
--- a/node_modules/@storybook/router/dist/index.d.ts
|
||||
+++ b/node_modules/@storybook/router/dist/index.d.ts
|
||||
@@ -335,7 +335,7 @@ declare const useNavigate: () => (to: To | number, { plain, ...options }?: any)
|
||||
* A component that will navigate to a new location/path when clicked
|
||||
*/
|
||||
declare const Link: {
|
||||
- ({ to, children, ...rest }: LinkProps): React__default.JSX.Element;
|
||||
+ ({ to, children, ...rest }: LinkProps): JSX.Element;
|
||||
displayName: string;
|
||||
};
|
||||
/**
|
||||
@@ -343,7 +343,7 @@ declare const Link: {
|
||||
* and will be called whenever it changes when it changes
|
||||
*/
|
||||
declare const Location: {
|
||||
- ({ children }: LocationProps): React__default.JSX.Element;
|
||||
+ ({ children }: LocationProps): JSX.Element;
|
||||
displayName: string;
|
||||
};
|
||||
/**
|
||||
@@ -1,35 +0,0 @@
|
||||
diff --git a/node_modules/@types/jest/index.d.ts b/node_modules/@types/jest/index.d.ts
|
||||
index b37b188..1908c0c 100755
|
||||
--- a/node_modules/@types/jest/index.d.ts
|
||||
+++ b/node_modules/@types/jest/index.d.ts
|
||||
@@ -30,18 +30,18 @@
|
||||
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
|
||||
// Minimum TypeScript Version: 4.3
|
||||
|
||||
-declare var beforeAll: jest.Lifecycle;
|
||||
-declare var beforeEach: jest.Lifecycle;
|
||||
-declare var afterAll: jest.Lifecycle;
|
||||
-declare var afterEach: jest.Lifecycle;
|
||||
-declare var describe: jest.Describe;
|
||||
-declare var fdescribe: jest.Describe;
|
||||
-declare var xdescribe: jest.Describe;
|
||||
-declare var it: jest.It;
|
||||
-declare var fit: jest.It;
|
||||
-declare var xit: jest.It;
|
||||
-declare var test: jest.It;
|
||||
-declare var xtest: jest.It;
|
||||
+// declare var beforeAll: jest.Lifecycle;
|
||||
+// declare var beforeEach: jest.Lifecycle;
|
||||
+// declare var afterAll: jest.Lifecycle;
|
||||
+// declare var afterEach: jest.Lifecycle;
|
||||
+// declare var describe: jest.Describe;
|
||||
+// declare var fdescribe: jest.Describe;
|
||||
+// declare var xdescribe: jest.Describe;
|
||||
+// declare var it: jest.It;
|
||||
+// declare var fit: jest.It;
|
||||
+// declare var xit: jest.It;
|
||||
+// declare var test: jest.It;
|
||||
+// declare var xtest: jest.It;
|
||||
|
||||
declare const expect: jest.Expect;
|
||||
|
||||
1962
patches/@vitest+expect+1.6.0.patch
Normal file
1962
patches/@vitest+expect+1.6.0.patch
Normal file
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user