aboutsummaryrefslogblamecommitdiffstats
path: root/types.html
blob: 6794e7534aeaa9144edfe14897d10ec17292d4f0 (plain) (tree)
























                                                                                    
<!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>