Skip to content

Commit

Permalink
💡 fix: 优化 schema 说明
Browse files Browse the repository at this point in the history
  • Loading branch information
arvinxx committed Apr 8, 2021
1 parent 489429c commit 8522b2e
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
3 changes: 3 additions & 0 deletions packages/journey-map/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,9 @@
"cov": "jest --coverage",
"clean": "rm -rf es lib dist build coverage .umi"
},
"lint-staged": {
"yml.ts": "yarn schema"
},
"dependencies": {
"@ant-design/charts": "^1.1.1",
"@ant-design/colors": "^6.0.0",
Expand Down
3 changes: 3 additions & 0 deletions packages/journey-map/src/types/yml.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,9 @@
*/
import type { JourneyMapData, UserAction } from './type';

/**
* YML 的阶段说明
*/
interface YMLStage {
/**
* 阶段名称
Expand Down

0 comments on commit 8522b2e

Please sign in to comment.