lock and test
This commit is contained in:
parent
0cb4344bac
commit
d76126698c
6597
pnpm-lock.yaml
6597
pnpm-lock.yaml
File diff suppressed because it is too large
Load Diff
|
@ -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);
|
Loading…
Reference in New Issue