teratail header banner
teratail header banner
質問するログイン新規登録

質問編集履歴

1

tsconfig.jsonの内容を追記しました。

2020/06/01 13:26

投稿

untyan
untyan

スコア3

title CHANGED
File without changes
body CHANGED
@@ -36,6 +36,49 @@
36
36
  ```
37
37
  と表示される。
38
38
 
39
+ 追記:tsconfig.json
40
+ ```html
41
+ {
42
+ "compilerOptions":{
43
+ "target": "es5" ,
44
+ "module": "esnext" ,
45
+ "lib": [
46
+ "esnext",
47
+ "dom"
48
+ ] ,
49
+ "baseUrl": "./src",
50
+ "outDir": "./lib-ts",
51
+ "declaration": true,
52
+ "sourceMap": true,
53
+ "allowJs": false,
54
+ "forceConsistentCasingInFileNames": true,
55
+ "allowSyntheticDefaultImports": false,
56
+ "moduleResolution": "node",
57
+ "strict": true,
58
+ "alwaysStrict": true,
59
+ "noImplicitReturns": true,
60
+ "noFallthroughCasesInSwitch": false,
61
+ "noUnusedLocals": true,
62
+ "noUnusedParameters": true,
63
+ "preserveConstEnums": false,
64
+ },
65
+ "compileOnSave": true,
66
+ "include": [
67
+ "src/**/*"
68
+ ],
69
+ "exclude": [
70
+ ".git",
71
+ "node_modules",
72
+ "lib"
73
+ ]
74
+ }
75
+ "typedocOptions": {
76
+ "name": "test_npm",
77
+ "mode": "file",
78
+ "out": "./docs"
79
+ }
80
+ ```
81
+
39
82
  ### 試したこと
40
83
 
41
84
  似たような事例を探しながら、闇雲にコマンドを入力するも事態は変わらなかった。