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 d42e88c commit 3e0390fCopy full SHA for 3e0390f
docs/tsconfig/it/options/declarationDir.md
@@ -0,0 +1,36 @@
1
+---
2
+display: "Directory dichiarazioni"
3
+oneline: "Definisce la directory principale per i file .d.ts"
4
5
+
6
+Offre una maniera di configurare la directory root in cui salvare i file di dichiarazione.
7
8
+```
9
+esempio
10
+├── index.ts
11
+├── package.json
12
+└── tsconfig.json
13
14
15
+con questo `tsconfig.json`:
16
17
+```json tsconfig
18
+{
19
+ "compilerOptions": {
20
+ "declaration": true,
21
+ "declarationDir": "./tipi"
22
+ }
23
+}
24
25
26
+Inserira i file `d.ts` per `index.ts` in una cartella `tipi`:
27
28
29
30
+├── index.js
31
32
33
+├── tsconfig.json
34
+└── tipi
35
+ └── index.d.ts
36
0 commit comments