Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
phsl
/
admin
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Members
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
e87df643
authored
Mar 27, 2023
by
puhui999
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update: 去除没必要的declare
parent
c105f314
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
types/router.d.ts
+2
-2
No files found.
types/router.d.ts
View file @
e87df643
...
@@ -54,7 +54,7 @@ type Component<T = any> =
...
@@ -54,7 +54,7 @@ type Component<T = any> =
|
(()
=>
Promise
<
T
>
)
|
(()
=>
Promise
<
T
>
)
declare
global
{
declare
global
{
declare
interface
AppRouteRecordRaw
extends
Omit
<
RouteRecordRaw
,
'meta'
>
{
interface
AppRouteRecordRaw
extends
Omit
<
RouteRecordRaw
,
'meta'
>
{
name
:
string
name
:
string
meta
:
RouteMeta
meta
:
RouteMeta
component
?:
Component
|
string
component
?:
Component
|
string
...
@@ -64,7 +64,7 @@ declare global {
...
@@ -64,7 +64,7 @@ declare global {
keepAlive
?:
boolean
keepAlive
?:
boolean
}
}
declare
interface
AppCustomRouteRecordRaw
extends
Omit
<
RouteRecordRaw
,
'meta'
>
{
interface
AppCustomRouteRecordRaw
extends
Omit
<
RouteRecordRaw
,
'meta'
>
{
icon
:
any
icon
:
any
name
:
string
name
:
string
meta
:
RouteMeta
meta
:
RouteMeta
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment