lock and test

This commit is contained in:
Matthieu Morin 2024-06-04 00:00:58 +02:00
parent 0cb4344bac
commit d76126698c
2 changed files with 5975 additions and 641 deletions

File diff suppressed because it is too large Load Diff

13
src/index.ts Normal file
View File

@ -0,0 +1,13 @@
type Hello = string | { 1: string; 2: string; 3: string };
let hello: Hello = 'Hello World!';
console.log(hello);
hello = {
1: 'you',
2: 'are',
3: 'done!'
};
console.log(hello);
console.log(typeof hello);