Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update flow-typed definitions #2467

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 18 additions & 0 deletions flow-typed/npm/@babel/eslint-parser_vx.x.x.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
// flow-typed signature: 8c1d8d27fcf7fb7d4ee87dae8c08acbc
// flow-typed version: <<STUB>>/@babel/eslint-parser_v^7.25.9/flow_v0.203.1

/**
* This is an autogenerated libdef stub for:
*
* '@babel/eslint-parser'
*
* Fill this stub out by replacing all the `any` types.
*
* Once filled out, we encourage you to share your work with the
* community by sending a pull request to:
* https://github.com/flowtype/flow-typed
*/

declare module '@babel/eslint-parser' {
declare module.exports: any;
}
49 changes: 49 additions & 0 deletions flow-typed/npm/@chromatic-com/storybook_vx.x.x.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
// flow-typed signature: d33aeb2a077d3b2981c2a95dd04bc8eb
// flow-typed version: <<STUB>>/@chromatic-com/storybook_v^3.2.3/flow_v0.203.1

/**
* This is an autogenerated libdef stub for:
*
* '@chromatic-com/storybook'
*
* Fill this stub out by replacing all the `any` types.
*
* Once filled out, we encourage you to share your work with the
* community by sending a pull request to:
* https://github.com/flowtype/flow-typed
*/

declare module '@chromatic-com/storybook' {
declare module.exports: any;
}

/**
* We include stubs for each file inside this npm package in case you need to
* require those files directly. Feel free to delete any files that aren't
* needed.
*/
declare module '@chromatic-com/storybook/dist' {
declare module.exports: any;
}

declare module '@chromatic-com/storybook/dist/preset' {
declare module.exports: any;
}

declare module '@chromatic-com/storybook/preset' {
declare module.exports: any;
}

// Filename aliases
declare module '@chromatic-com/storybook/dist/index' {
declare module.exports: $Exports<'@chromatic-com/storybook/dist'>;
}
declare module '@chromatic-com/storybook/dist/index.js' {
declare module.exports: $Exports<'@chromatic-com/storybook/dist'>;
}
declare module '@chromatic-com/storybook/dist/preset.js' {
declare module.exports: $Exports<'@chromatic-com/storybook/dist/preset'>;
}
declare module '@chromatic-com/storybook/preset.js' {
declare module.exports: $Exports<'@chromatic-com/storybook/preset'>;
}
13 changes: 3 additions & 10 deletions flow-typed/npm/@reduxjs/toolkit_v1.x.x.js
Original file line number Diff line number Diff line change
@@ -1,17 +1,10 @@
// flow-typed signature: 1db74cd54cd0882d2e4291e7b6ba667a
// flow-typed version: 3a05283656/@reduxjs/toolkit_v1.x.x/flow_>=v0.104.x
// flow-typed signature: 7193e451973000caef07d1ec202ed177
// flow-typed version: a349be2d72/@reduxjs/toolkit_v1.x.x/flow_>=v0.142.x

declare module '@reduxjs/toolkit' {
import type { Action, Reducer } from 'redux';
// These types are copied directly from the redux libdef.
// Importing them in this libdef causes a loss in type coverage.
// import type { Action, Reducer } from 'redux';

declare type Action<T> = {
type: T,
...
};

declare type Reducer<S, A> = (state: S | void, action: A) => S;

declare type DispatchAPI<A> = (action: A) => A;

Expand Down
Loading