diff --git a/.github/ISSUE_TEMPLATE/Bug_report.md b/.github/ISSUE_TEMPLATE/Bug_report.md index 56427fe58a3..4b9e3f8f1ea 100644 --- a/.github/ISSUE_TEMPLATE/Bug_report.md +++ b/.github/ISSUE_TEMPLATE/Bug_report.md @@ -4,41 +4,70 @@ about: Create a report to help us improve TypeScript title: '' labels: '' assignees: '' - --- - - +# Bug Report + +### πŸ”Ž Search Terms + + + +### πŸ•— Version & Regression Information + + -**TypeScript Version:** 3.7.x-dev.201xxxxx +- This is a crash +- This changed between versions ______ and _______ +- This is the behavior in every version I tried, and I reviewed the FAQ for entries about _________ +- I was unable to test this on prior versions because _______ - -**Search Terms:** +### ⏯ Playground Link -**Code** + +[Playground link with relevant code](https://www.typescriptlang.org/play?#code/PTAEFkE9QYwewCYFNQHM5IM6gBZIE5JA) + +### πŸ’» Code + + ```ts -// A *self-contained* demonstration of the problem follows... -// Test this by running `tsc` on the command-line, rather than through another build tool such as Gulp, Webpack, etc. +// We can quickly address your report if: +// - The code sample is short. Nearly all TypeScript bugs can be demonstrated in 20-30 lines of code! +// - It doesn't use external libraries. These are often issues with the type definitions rather than TypeScript bugs. +// - The incorrectness of the behavior is readily apparent from reading the sample. +// Reports are slower to investigate if: +// - We have to pare too much extraneous code. +// - We have to clone a large repo and validate that the problem isn't elsewhere. +// - The sample is confusing or doesn't clearly demonstrate what's wrong. ``` -**Expected behavior:** +### πŸ™ Actual behavior -**Actual behavior:** + -**Playground Link:** +### πŸ™‚ Expected behavior -**Related Issues:** + diff --git a/.github/ISSUE_TEMPLATE/Feature_request.md b/.github/ISSUE_TEMPLATE/Feature_request.md index e5f21faeafe..cbc58730a7e 100644 --- a/.github/ISSUE_TEMPLATE/Feature_request.md +++ b/.github/ISSUE_TEMPLATE/Feature_request.md @@ -4,44 +4,56 @@ about: Suggest an idea title: '' labels: '' assignees: '' - --- - - - -## Search Terms - - - -## Suggestion - - - -## Use Cases +# Suggestion -## Examples +## πŸ” Search Terms - + +List of keywords you searched for before creating this issue. Write them down here so that others can find this suggestion more easily and help provide feedback. + +## βœ… Viability Checklist + + My suggestion meets these guidelines: * [ ] This wouldn't be a breaking change in existing TypeScript/JavaScript code * [ ] This wouldn't change the runtime behavior of existing JavaScript code * [ ] This could be implemented without emitting different JS based on the types of the expressions -* [ ] This isn't a runtime feature (e.g. library functionality, non-ECMAScript syntax with JavaScript output, etc.) +* [ ] This isn't a runtime feature (e.g. library functionality, non-ECMAScript syntax with JavaScript output, new syntax sugar for JS, etc.) * [ ] This feature would agree with the rest of [TypeScript's Design Goals](https://github.com/Microsoft/TypeScript/wiki/TypeScript-Design-Goals). + + +## ⭐ Suggestion + + + +## πŸ“ƒ Motivating Example + + + +## πŸ’» Use Cases + + diff --git a/.github/ISSUE_TEMPLATE/lib_change.md b/.github/ISSUE_TEMPLATE/lib_change.md new file mode 100644 index 00000000000..e1f81555a12 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/lib_change.md @@ -0,0 +1,55 @@ +--- +name: Library change +about: Fix or improve issues with built-in type definitions like `lib.dom.d.ts`, `lib.es6.d.ts`, etc. +title: '' +labels: '' +assignees: '' +--- +# lib Update Request + + + +## Configuration Check + + +My compilation *target* is `ES2015` and my *lib* is `the default`. + +## Missing / Incorrect Definition + + + +## Sample Code + + + +## Documentation Link + +