mirror of
https://github.com/storybookjs/storybook.git
synced 2025-04-07 07:21:17 +08:00
Add errors for removed APIs
This commit is contained in:
parent
e88f66e958
commit
bee50c8149
@ -432,4 +432,8 @@ Read more here: https://github.com/storybookjs/storybook/blob/master/MIGRATION.m
|
||||
|
||||
return Object.values(kinds);
|
||||
}
|
||||
|
||||
raw() {
|
||||
return this.storyStore.raw();
|
||||
}
|
||||
}
|
||||
|
@ -234,4 +234,16 @@ export class StoryStore<TFramework extends Framework> {
|
||||
stories,
|
||||
};
|
||||
}
|
||||
|
||||
raw() {
|
||||
throw new Error(
|
||||
`StoryStore.raw() is no longer implemented. If you were relying on this API, please contact us on Discord.`
|
||||
);
|
||||
}
|
||||
|
||||
fromId() {
|
||||
throw new Error(
|
||||
`StoryStore.fromId() is no longer implemented. If you were relying on this API, please contact us on Discord.`
|
||||
);
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user