Skip to content

Commit

Permalink
Update flow-typed definitions
Browse files Browse the repository at this point in the history
  • Loading branch information
michaelmior authored Nov 3, 2024
1 parent faf142f commit 2433113
Show file tree
Hide file tree
Showing 34 changed files with 1,439 additions and 313 deletions.
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: d4017b9cd03b4909113b8529a8f85150
// flow-typed version: <<STUB>>/@chromatic-com/storybook_v^3.2.2/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

0 comments on commit 2433113

Please sign in to comment.