We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 735542b commit 5368bf7Copy full SHA for 5368bf7
docs/tsconfig/it/options/allowUnusedLabels.md
@@ -0,0 +1,19 @@
1
+---
2
+display: "Permetti Label Non Utilizzati"
3
+oneline: "Visualizza un errore quando un'etichetta viene creata accidentalmente"
4
5
+
6
+Imposta a False per disattivare le avvertenze riguardo label non utilizzati.
7
8
+In JavaScript i label sono molto rari e tipicamente indicano un tentativo di scrivere un oggetto letterale:
9
10
+```ts twoslash
11
+// @errors: 7028
12
+// @allowUnusedLabels: false
13
+function verificaEta(eta: number) {
14
+ // Il 'return' non è presente
15
+ if (eta > 18) {
16
+ verificato: true;
17
+ }
18
+}
19
+```
0 commit comments