Skip to content

Commit dc3a708

Browse files
committed
types: made some types more flexible
1 parent 4f4a757 commit dc3a708

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

  • packages/plugins/materials/src/composable

packages/plugins/materials/src/composable/types.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -116,9 +116,9 @@ export interface History {
116116
path?: string
117117
label?: string
118118
description?: unknown
119-
mode: 'vscode' | null
119+
mode?: string | null
120120
block_id: number
121-
version: '1.0.0' | null
121+
version?: string | null
122122
npm_name?: string
123123
i18n?: unknown
124124
created_app?: unknown
@@ -277,7 +277,7 @@ export interface SnippetChild {
277277
docUrl?: string
278278
tags?: string
279279
keywords?: string
280-
devMode?: 'proCode'
280+
devMode?: string
281281
npm?: Dependency
282282
priority?: number
283283
}

0 commit comments

Comments
 (0)