Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
T
Test_Website-Front_End
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Test Website
Test_Website-Front_End
Commits
0a5b9928
Commit
0a5b9928
authored
1 year ago
by
Dysk0
Browse files
Options
Downloads
Patches
Plain Diff
tsconfig.json file edit
parent
429d0930
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
tsconfig.json
+33
-2
33 additions, 2 deletions
tsconfig.json
with
33 additions
and
2 deletions
tsconfig.json
+
33
−
2
View file @
0a5b9928
...
...
@@ -24,8 +24,20 @@
//
"useDefineForClassFields"
:
true
,
/*
Emit
ECMAScript-standard-compliant
class
fields.
*/
//
"moduleDetection"
:
"auto"
,
/*
Control
what
method
is
used
to
detect
module-format
JS
files.
*/
//
This
is
a
list
of
library
files
to
be
included
in
the
compilation.
"lib"
:
[
"dom"
,
"dom.iterable"
,
"esnext"
],
//
Set
to
true
because
Next.js
handles
the
compilation
of
TypeScript
files
,
so
you
don’t
want
TypeScript
to
output
files
during
the
build
process.
"noEmit"
:
true
,
/*
Modules
*/
"module"
:
"commonjs"
,
/*
Specify
what
module
code
is
generated.
*/
//
Next.js
prefers
esnext
modules
,
which
supports
dynamic
imports
,
and
node
resolution
strategy
for
working
with
npm
packages
and
node
internals.
"module"
:
"esnext"
,
/*
Specify
what
module
code
is
generated.
*/
//
"rootDir"
:
"./"
,
/*
Specify
the
root
folder
within
your
source
files.
*/
//
"moduleResolution"
:
"node10"
,
/*
Specify
how
TypeScript
looks
up
a
file
from
a
given
module
specifier.
*/
//
"baseUrl"
:
"./"
,
/*
Specify
the
base
directory
to
resolve
non-relative
module
names.
*/
...
...
@@ -43,6 +55,8 @@
//
"allowArbitraryExtensions"
:
true
,
/*
Enable
importing
files
with
any
extension
,
provided
a
declaration
file
is
present.
*/
//
"noResolve"
:
true
,
/*
Disallow
'import's
,
'require's
or
'<reference>'s
from
expanding
the
number
of
files
TypeScript
should
add
to
a
project.
*/
"moduleResolution"
:
"node"
,
/*
JavaScript
Support
*/
//
"allowJs"
:
true
,
/*
Allow
JavaScript
files
to
be
a
part
of
your
program.
Use
the
'checkJS'
option
to
get
errors
from
these
files.
*/
//
"checkJs"
:
true
,
/*
Enable
error
reporting
in
type-checked
JavaScript
files.
*/
...
...
@@ -73,6 +87,15 @@
//
"declarationDir"
:
"./"
,
/*
Specify
the
output
directory
for
generated
declaration
files.
*/
//
"preserveValueImports"
:
true
,
/*
Preserve
unused
imported
values
in
the
JavaScript
output
that
would
otherwise
be
removed.
*/
"jsx"
:
"preserve"
,
"incremental"
:
true
,
"removeComments"
:
false
,
"baseUrl"
:
"."
,
"paths"
:
{
"@/components/*"
:
[
"components/*"
],
"@/lib/*"
:
[
"lib/*"
]
}
/*
Interop
Constraints
*/
//
"isolatedModules"
:
true
,
/*
Ensure
that
each
file
can
be
safely
transpiled
without
relying
on
other
imports.
*/
//
"verbatimModuleSyntax"
:
true
,
/*
Do
not
transform
or
elide
any
imports
or
exports
not
marked
as
type-only
,
ensuring
they
are
written
in
the
output
file's
format
based
on
the
'module'
setting.
*/
...
...
@@ -105,5 +128,13 @@
/*
Completeness
*/
//
"skipDefaultLibCheck"
:
true
,
/*
Skip
type
checking
.d.ts
files
that
are
included
with
TypeScript.
*/
"skipLibCheck"
:
true
/*
Skip
type
checking
all
.d.ts
files.
*/
}
},
"include"
:
[
"next-env.d.ts"
,
"**/*.ts"
,
"**/*.tsx"
],
"exclude"
:
[
"node_modules"
]
}
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment