Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
J
jinfa-platform
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
黄庭坚
jinfa-platform
Commits
9f70d49b
Commit
9f70d49b
authored
Jun 12, 2020
by
前端-许佳敏
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix:全局配置声明文件
parent
8a72c3a3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
2 additions
and
2 deletions
+2
-2
gulpfile.js
scripts/gulpfile.js
+1
-1
global.d.ts
src/global/config/global.d.ts
+0
-0
index.ts
src/global/config/index.ts
+1
-1
No files found.
scripts/gulpfile.js
View file @
9f70d49b
...
...
@@ -9,7 +9,7 @@ const json2ts = require('json2ts')
const
rootPath
=
'../'
;
const
outputPath
=
path
.
resolve
(
__dirname
,
rootPath
,
'config/base.config.json'
)
const
outputDts
=
path
.
resolve
(
__dirname
,
rootPath
,
'global.d.ts'
)
const
outputDts
=
path
.
resolve
(
__dirname
,
rootPath
,
'
src/global/config/
global.d.ts'
)
Logs
.
start
(
'gulp start'
)
...
...
global.d.ts
→
src/global/config/
global.d.ts
View file @
9f70d49b
File moved
src/global/config/index.ts
View file @
9f70d49b
...
...
@@ -7,6 +7,6 @@
*/
import
SELF_CONFIG
from
'../../../config/base.config.json'
import
{
RootObject
}
from
'.
./../..
/global'
import
{
RootObject
}
from
'./global'
export
const
GlobalConfig
:
RootObject
=
SELF_CONFIG
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