aboutsummaryrefslogtreecommitdiffstats
path: root/types.html
blob: 6794e7534aeaa9144edfe14897d10ec17292d4f0 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
<!DOCTYPE html>
<html lang="en">
<head>
	<meta charset="UTF-8">
	<meta name="viewport" content="width=device-width">
	<title>Document</title>

	<script src="/lib/types.js" ></script>

	<script>
		console.log(new Type("int"))
		console.log(new Type("List<int>"))
		console.log(new Type("(int, T1)", ["T1"]))
		console.log(new Type("List<(T,int)>", ["T"]))
		console.log(new Type("(int|float|Vector3)"))
		console.log(new Type("List<(int|float|Vector3)>"))
		console.log(new Type("(List<List<(int|float|Vector3)>>|List<any>)"))
		
	</script>
		
</head>
<body>
	
</body>
</html>