Skip to content

Commit a6a0fb2

Browse files
committed
chore: add typescript version in issue templates
1 parent f6e4c93 commit a6a0fb2

File tree

3 files changed

+31
-0
lines changed

3 files changed

+31
-0
lines changed

.github/ISSUE_TEMPLATE/1-bug_report.yml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -100,6 +100,16 @@ body:
100100
validations:
101101
required: true
102102

103+
# Current version of TypeScript
104+
- type: input
105+
id: version
106+
attributes:
107+
label: TypeScript version
108+
description: Which version of TypeScript are you installing?
109+
placeholder: e.g. 5.9.3
110+
validations:
111+
required: true
112+
103113
# Operating system
104114
- type: dropdown
105115
id: os

.github/ISSUE_TEMPLATE/2-general_issue.yml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,15 @@ body:
6666
validations:
6767
required: true
6868

69+
- type: input
70+
id: version
71+
attributes:
72+
label: TypeScript version
73+
description: Which version of TypeScript are you installing?
74+
placeholder: e.g. 5.9.3
75+
validations:
76+
required: true
77+
6978
- type: dropdown
7079
id: os
7180
attributes:

.github/ISSUE_TEMPLATE/3-ask_question.yml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -90,6 +90,18 @@ body:
9090
validations:
9191
required: true
9292

93+
- type: input
94+
id: version
95+
attributes:
96+
label: TypeScript version
97+
description: |
98+
Which version of TypeScript are you installing?
99+
<br/>
100+
您安装的哪个版本的 TypeScript?
101+
placeholder: e.g. 5.9.3
102+
validations:
103+
required: true
104+
93105
- type: textarea
94106
id: additional
95107
attributes:

0 commit comments

Comments
 (0)