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

回答編集履歴

4

テキスト修正

2019/11/24 09:57

投稿

jun68ykt
jun68ykt

スコア9058

answer CHANGED
@@ -33,7 +33,7 @@
33
33
  > $ **cat test.ts**
34
34
 
35
35
  ```typescript
36
- type User = { name: string }
36
+ interface User { name: string }
37
37
 
38
38
  class Users implements Iterable<User> {
39
39
 

3

テキスト修正

2019/11/24 09:57

投稿

jun68ykt
jun68ykt

スコア9058

answer CHANGED
@@ -3,7 +3,7 @@
3
3
 
4
4
  > $ **ls -l**
5
5
  total 16
6
- -rw-r--r-- 1 jun68ykt staff 440 11 24 18:51 test.ts
6
+ -rw-r--r-- 1 jun68ykt staff 442 11 24 18:51 test.ts
7
7
  -rw-r--r-- 1 jun68ykt staff 297 11 24 18:51 tsconfig.json
8
8
  $ **node -v**
9
9
  **v12.13.0**

2

テキスト修正

2019/11/24 09:55

投稿

jun68ykt
jun68ykt

スコア9058

answer CHANGED
@@ -3,8 +3,8 @@
3
3
 
4
4
  > $ **ls -l**
5
5
  total 16
6
- -rw-r--r-- 1 jun68hyk staff 440 11 24 18:51 test.ts
6
+ -rw-r--r-- 1 jun68ykt staff 440 11 24 18:51 test.ts
7
- -rw-r--r-- 1 jun68hyk staff 297 11 24 18:51 tsconfig.json
7
+ -rw-r--r-- 1 jun68ykt staff 297 11 24 18:51 tsconfig.json
8
8
  $ **node -v**
9
9
  **v12.13.0**
10
10
  $ **tsc -v**
@@ -63,8 +63,8 @@
63
63
 
64
64
  > $ tsc
65
65
  $ ls -l test.*
66
- -rw-r--r-- 1 jun68hyk staff 1421 11 24 18:52 test.js
66
+ -rw-r--r-- 1 jun68ykt staff 1421 11 24 18:52 test.js
67
- -rw-r--r-- 1 jun68hyk staff 442 11 24 18:51 test.ts
67
+ -rw-r--r-- 1 jun68ykt staff 442 11 24 18:51 test.ts
68
68
  $ node test.js
69
69
  Tanaka
70
70
  Suzuki

1

テキスト修正

2019/11/24 09:54

投稿

jun68ykt
jun68ykt

スコア9058

answer CHANGED
@@ -3,8 +3,8 @@
3
3
 
4
4
  > $ **ls -l**
5
5
  total 16
6
- -rw-r--r-- 1 jun68hyk staff 440 11 24 18:49 test.ts
6
+ -rw-r--r-- 1 jun68hyk staff 440 11 24 18:51 test.ts
7
- -rw-r--r-- 1 jun68hyk staff 297 11 24 18:49 tsconfig.json
7
+ -rw-r--r-- 1 jun68hyk staff 297 11 24 18:51 tsconfig.json
8
8
  $ **node -v**
9
9
  **v12.13.0**
10
10
  $ **tsc -v**