Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
N
next.js
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Alex
next.js
Commits
9d17d9ed
Unverified
Commit
9d17d9ed
authored
May 15, 2020
by
Joe Haddad
Committed by
GitHub
May 15, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Test TypeScript Enum (#12954)
parent
fc927a2a
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
0 deletions
+8
-0
hello.tsx
test/integration/typescript/pages/hello.tsx
+8
-0
No files found.
test/integration/typescript/pages/hello.tsx
View file @
9d17d9ed
...
...
@@ -6,6 +6,14 @@ import Router from '../components/router'
import
{
World
}
from
'../components/world'
import
{
value
as
resolveOrderValue
}
from
'../extension-order/js-first'
export
enum
SearchEntity
{
SEARCH_ENTITY_NONE
=
0
,
SEARCH_ENTITY_POSITION
=
1
,
SEARCH_ENTITY_USER
=
2
,
SEARCH_ENTITY_QUESTION
=
3
,
SEARCH_ENTITY_TOPIC
=
4
,
}
export
default
function
HelloPage
():
JSX
.
Element
{
const
router
=
useRouter
()
console
.
log
(
process
.
browser
)
...
...
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