@storybook/react-dom-shim 7.5.0-alpha.1 → 7.5.0-alpha.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/dist/preset.d.ts +2 -2
  2. package/package.json +2 -2
package/dist/preset.d.ts CHANGED
@@ -795,7 +795,7 @@ type Indexer = BaseIndexer & {
795
795
  * @param options {@link IndexerOptions} for indexing the file.
796
796
  * @returns A promise that resolves to an array of {@link IndexInput} objects.
797
797
  */
798
- index: (fileName: string, options: IndexerOptions) => Promise<IndexInput[]>;
798
+ createIndex: (fileName: string, options: IndexerOptions) => Promise<IndexInput[]>;
799
799
  /**
800
800
  * @soonDeprecated Use {@link index} instead
801
801
  */
@@ -803,7 +803,7 @@ type Indexer = BaseIndexer & {
803
803
  };
804
804
  type DeprecatedIndexer = BaseIndexer & {
805
805
  indexer: (fileName: string, options: IndexerOptions) => Promise<IndexedCSFFile>;
806
- index?: never;
806
+ createIndex?: never;
807
807
  };
808
808
  /**
809
809
  * @soonDeprecated Use {@link Indexer} instead
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@storybook/react-dom-shim",
3
- "version": "7.5.0-alpha.1",
3
+ "version": "7.5.0-alpha.3",
4
4
  "description": "",
5
5
  "keywords": [
6
6
  "storybook"
@@ -54,7 +54,7 @@
54
54
  "prep": "../../../scripts/prepare/bundle.ts"
55
55
  },
56
56
  "devDependencies": {
57
- "@storybook/types": "7.5.0-alpha.1",
57
+ "@storybook/types": "7.5.0-alpha.3",
58
58
  "typescript": "~4.9.3"
59
59
  },
60
60
  "peerDependencies": {