Skip to content

Commit df36917

Browse files
committed
Core: Typings - Fix View's name type
Fixes #2876
1 parent 9983126 commit df36917

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/core/components/view/view.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ export namespace View {
2828
}
2929
interface Parameters {
3030
/** View name. If view was created with name, then it may be accessed via app.views.[name] */
31-
name?: boolean
31+
name?: string
3232
/** Specify whether this is View is main or not. If not passed then will be determined based on whether its element has view-main class or not */
3333
main?: boolean
3434
/** Set to false to disable view router */

0 commit comments

Comments
 (0)