You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
description: "Fix or improve issues with built-in type definitions like `lib.dom.d.ts`, `lib.es6.d.ts`, etc."
1
+
name: 'Library change'
2
+
description: 'Fix or improve issues with built-in type definitions like `lib.dom.d.ts`, `lib.es6.d.ts`, etc.'
3
3
body:
4
4
- type: markdown
5
5
attributes:
@@ -18,45 +18,45 @@ body:
18
18
- type: markdown
19
19
attributes:
20
20
value: |
21
-
If you're missing common new methods like `Array.includes`, you may have a misconfigured project.
22
-
Try setting `lib: "es2020"` and checking whether the type you want is present.
23
-
You can diagnose further by running `tsc` with `--listFilesOnly` or `--showConfig`.
21
+
If you're missing common new methods like `Array.includes`, you may have a misconfigured project.
22
+
Try setting `lib: "es2020"` and checking whether the type you want is present.
23
+
You can diagnose further by running `tsc` with `--listFilesOnly` or `--showConfig`.
24
24
25
-
Conversely, if you are seeing built-in methods you expect to *not* see, check your 'lib' setting or review your dependencies for lib/reference directives that might be polluting
26
-
your global scope. This is common when using the 'node' type library. See https://github.com/microsoft/TypeScript/issues/40184
25
+
Conversely, if you are seeing built-in methods you expect to *not* see, check your 'lib' setting or review your dependencies for lib/reference directives that might be polluting
26
+
your global scope. This is common when using the 'node' type library. See https://github.com/microsoft/TypeScript/issues/40184
27
27
- type: input
28
28
id: compilation_target
29
29
attributes:
30
-
label: "⚙ Compilation target"
30
+
label: '⚙ Compilation target'
31
31
description: "What's your compilation target (e.g.: `ES2015`)?"
32
32
validations:
33
33
required: true
34
34
- type: input
35
35
id: current_lib
36
36
attributes:
37
-
label: "⚙ Library"
37
+
label: '⚙ Library'
38
38
description: "What's the current library you're using?"
39
39
validations:
40
40
required: true
41
41
- type: textarea
42
42
id: incorrect_definition
43
43
attributes:
44
-
label: "Missing / Incorrect Definition"
45
-
description: "What property, method, function, etc. is missing or incorrect?"
44
+
label: 'Missing / Incorrect Definition'
45
+
description: 'What property, method, function, etc. is missing or incorrect?'
46
46
validations:
47
47
required: true
48
48
- type: textarea
49
49
id: sample_code
50
50
attributes:
51
-
label: "Sample Code"
51
+
label: 'Sample Code'
52
52
description: "What's some code using this that should work, but doesn't?"
53
53
render: TypeScript
54
54
validations:
55
55
required: true
56
56
- type: textarea
57
57
id: documentation_link
58
58
attributes:
59
-
label: "Documentation Link"
59
+
label: 'Documentation Link'
60
60
description: |
61
61
Link to relevant documentation (e.g. MDN, W3C, ECMAScript Spec) to consult for this property.
62
62
Note that lib.dom.d.ts intentionally does not include browser-specific extensions or early experimental features.
0 commit comments