Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Sign in
Toggle navigation
J
jensen
Project
Project
Details
Activity
Releases
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
Skye Yu
jensen
Commits
19a16637
Commit
19a16637
authored
Sep 25, 2024
by
曾思程
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
进行类型导出重构
parent
cc0c8611
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
69 additions
and
71 deletions
+69
-71
index.ts
index.ts
+1
-0
type.ts
type.ts
+68
-71
No files found.
index.ts
View file @
19a16637
...
...
@@ -4,4 +4,5 @@ import { Jensen } from './src/jensen';
export
*
from
'./type'
export
default
Jensen
;
type.ts
View file @
19a16637
...
...
@@ -18,8 +18,7 @@ export type FileInfo = {
signature
:
string
;
};
declare
module
jensenType
{
class
Jensen
{
export
declare
class
Jensen
{
constructor
(
log
:
typeof
Logger
)
onconnect
:
Function
;
onmessage
:
(
data
:
any
)
=>
void
|
null
;
...
...
@@ -87,7 +86,5 @@ declare module jensenType {
state
:
boolean
,
seconds
?:
number
)
=>
Promise
<
ReturnStruct
[
'common'
]
>
;
}
}
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