Skip to content

Commit cb723ec

Browse files
committed
fix(vscode): transition should not be required, fix #2532
1 parent a6b7f24 commit cb723ec

2 files changed

Lines changed: 2 additions & 5 deletions

File tree

packages/types/src/frontmatter.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import type { BuiltinLayouts } from './builtin-layouts'
22
import type { SlidevThemeConfig } from './types'
33

4-
export interface Headmatter extends HeadmatterConfig, Omit<Frontmatter, 'title'> {
4+
export interface Headmatter extends HeadmatterConfig, Omit<Frontmatter, 'title' | 'transition'> {
55
/**
66
* Default frontmatter options applied to all slides
77
*/

packages/vscode/schema/headmatter.json

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -584,10 +584,7 @@
584584
"description": "Default frontmatter options applied to all slides",
585585
"markdownDescription": "Default frontmatter options applied to all slides"
586586
}
587-
},
588-
"required": [
589-
"transition"
590-
]
587+
}
591588
},
592589
"BuiltinLayouts": {
593590
"type": "string",

0 commit comments

Comments
 (0)