Skip to content

Commit f9eac28

Browse files
committed
[README]: update index
1 parent 9150cb0 commit f9eac28

File tree

17 files changed

+52
-12
lines changed

17 files changed

+52
-12
lines changed

README.md

+2-1
Original file line numberDiff line numberDiff line change
@@ -51,8 +51,8 @@ In questo repository puoi trovare buona parte del codice in cui si parla del lib
5151
- [TypeScript] [build](/typescript/build)
5252
- [TypeScript] [decorators](/typescript/decorators)
5353
- [TypeScript] [generics](/typescript/generics)
54+
- [TypeScript] [import](/typescript/import)
5455
- [TypeScript] [moduli](/typescript/moduli)
55-
- [TypeScript] [moduli-javascript](/typescript/moduli-javascript)
5656

5757
### Design System
5858

@@ -68,4 +68,5 @@ In questo repository puoi trovare buona parte del codice in cui si parla del lib
6868

6969
### JavaScript
7070

71+
- [JavaScript] [moduli-javascript](/javascript/moduli)
7172
- [JavaScript] [temporizzazione](/javascript/temporizzazione)

javascript/moduli/README.md

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
# Moduli
2+
3+
Per compilare il codice TypeScript devi usare il comando `tsc NOME_FILE.ts` e verrà generato un file JavaScript con lo stesso nome ma con estensione `.js`
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

react/useId/README.md

-10
Original file line numberDiff line numberDiff line change
@@ -1,10 +0,0 @@
1-
# useId()
2-
3-
- [torna alla home](/)
4-
5-
## Come fare...
6-
7-
```
8-
npm install
9-
npm run dev
10-
```

typescript/build/README.md

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
# Build
2+
3+
Per compilare il codice TypeScript devi usare il comando `tsc prova.ts` e verrà generato un file JavaScript con lo stesso nome ma con estensione `.js`

typescript/decorators/README.md

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
# Decorators
2+
3+
Per compilare il codice TypeScript devi usare il comando `tsc NOME_FILE.ts` e verrà generato un file JavaScript con lo stesso nome ma con estensione `.js`

typescript/generics/README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
# Generics
22

3-
Per compilare il codice TypeScript devi usare il comando `tsc generics-example.ts` e verr' generato un file JavaScript con lo stesso nome ma con estensione `.js`
3+
Per compilare il codice TypeScript devi usare il comando `tsc generics-example.ts` e verrà generato un file JavaScript con lo stesso nome ma con estensione `.js`

typescript/import/README.md

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
# Import
2+
3+
Per compilare il codice TypeScript devi usare il comando `tsc -t tsconfig.json'` e verrà generato un file JavaScript con lo stesso nome ma con estensione `.js`

typescript/import/dist/esterno.js

+2
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
"use strict";
2+
Object.defineProperty(exports, "__esModule", { value: true });

typescript/import/dist/programma.js

+7
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
"use strict";
2+
Object.defineProperty(exports, "__esModule", { value: true });
3+
var ciao = {
4+
foo: "ciaone",
5+
bar: "mondone",
6+
};
7+
console.log(ciao);

typescript/import/esterno.ts

+11
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
type NonEsportato = {
2+
foo: string;
3+
bar: string;
4+
};
5+
6+
export type Esportato = {
7+
foo: string;
8+
bar: string;
9+
};
10+
11+
export default Esportato;

typescript/import/programma.ts

+8
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
import Esportato from "./esterno";
2+
3+
const ciao: Esportato = {
4+
foo: "ciaone",
5+
bar: "mondone",
6+
};
7+
8+
console.log(ciao);

typescript/import/tsconfig.json

+6
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
{
2+
"include": ["**.ts"],
3+
"compilerOptions": {
4+
"outDir": "dist"
5+
}
6+
}

typescript/moduli/README.md

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
# Moduli
2+
3+
Per compilare il codice TypeScript devi usare il comando `tsc NOME_FILE.ts` e verrà generato un file JavaScript con lo stesso nome ma con estensione `.js`

0 commit comments

Comments
 (0)