specify type
This commit is contained in:
@@ -16,8 +16,8 @@ export class UmbPartialViewTreeRepository
|
||||
}
|
||||
|
||||
async requestTreeRoot() {
|
||||
const data = {
|
||||
path: null,
|
||||
const data: UmbPartialViewTreeRootModel = {
|
||||
unique: null,
|
||||
entityType: UMB_PARTIAL_VIEW_ROOT_ENTITY_TYPE,
|
||||
name: 'Partial Views',
|
||||
icon: 'icon-folder',
|
||||
|
||||
@@ -14,7 +14,7 @@ export class UmbStylesheetTreeRepository extends UmbTreeRepositoryBase<
|
||||
}
|
||||
|
||||
async requestTreeRoot() {
|
||||
const data = {
|
||||
const data: UmbStylesheetTreeRootModel = {
|
||||
unique: null,
|
||||
entityType: UMB_STYLESHEET_ROOT_ENTITY_TYPE,
|
||||
name: 'Stylesheets',
|
||||
|
||||
@@ -15,7 +15,7 @@ export class UmbTemplateTreeRepository
|
||||
}
|
||||
|
||||
async requestTreeRoot() {
|
||||
const data = {
|
||||
const data: UmbTemplateTreeRootModel = {
|
||||
id: null,
|
||||
entityType: UMB_TEMPLATE_ROOT_ENTITY_TYPE,
|
||||
name: 'Templates',
|
||||
|
||||
Reference in New Issue
Block a user