diff --git a/docs/develop/guidance/module_StepPlayer.md b/docs/develop/guidance/module_StepPlayer.md new file mode 100644 index 000000000..9b2335f8d --- /dev/null +++ b/docs/develop/guidance/module_StepPlayer.md @@ -0,0 +1,12 @@ +```ts +type Props = { + step: Step // 已有的 Step 类型 +} +type Events = { + stepCompleted: [] +} + +type StepPlayerExpose = { + checkAnswer(): boolean +} +```