Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
M
myround
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
wildfirecode13
myround
Commits
82231960
Commit
82231960
authored
Mar 13, 2018
by
wildfirecode
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
u
parent
7073a1d3
Changes
6
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
13 additions
and
1 deletion
+13
-1
.DS_Store
.DS_Store
+0
-0
package.json
package.json
+1
-0
tsconfig.json
tsconfig.json
+3
-1
Bar.d.ts
types/Bar.d.ts
+4
-0
Foo.d.ts
types/Foo.d.ts
+3
-0
index.d.ts
types/index.d.ts
+2
-0
No files found.
.DS_Store
0 → 100644
View file @
82231960
File added
package.json
View file @
82231960
...
...
@@ -3,6 +3,7 @@
"version"
:
"1.0.0"
,
"description"
:
""
,
"main"
:
"./bin/index.js"
,
"types"
:
"./types/index.d.ts"
,
"scripts"
:
{
"test"
:
"echo
\"
Error: no test specified
\"
&& exit 1"
},
...
...
tsconfig.json
View file @
82231960
...
...
@@ -2,6 +2,8 @@
"compilerOptions"
:
{
"outDir"
:
"bin"
,
"target"
:
"es5"
,
/*
Specify
ECMAScript
target
version
:
'ES
3
'
(default)
,
'ES
5
'
,
'ES
2015
'
,
'ES
2016
'
,
'ES
2017
'
,
'ES
2018
'
or
'ESNEXT'.
*/
"module"
:
"commonjs"
"module"
:
"commonjs"
,
"declaration"
:
true
,
"declarationDir"
:
"types"
}
}
\ No newline at end of file
types/Bar.d.ts
0 → 100644
View file @
82231960
import
Foo
from
"./Foo"
;
export
default
class
Bar
{
createFoo
():
Foo
;
}
types/Foo.d.ts
0 → 100644
View file @
82231960
export
default
class
Foo
{
log
():
void
;
}
types/index.d.ts
0 → 100644
View file @
82231960
import
Bar
from
"./Bar"
;
export
{
Bar
};
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