Merge branch 'feature-data' of http://222.76.244.118:3000/CPICXIM/desktop_task_schedule into feature-data
This commit is contained in:
		@@ -9,3 +9,26 @@
 | 
			
		||||
 */
 | 
			
		||||
 | 
			
		||||
import { queryDepartmentArchievement } from "../utils/archievement.js";
 | 
			
		||||
 | 
			
		||||
interface Cat
 | 
			
		||||
{
 | 
			
		||||
    name: string;
 | 
			
		||||
    purrs: boolean;
 | 
			
		||||
};
 | 
			
		||||
 | 
			
		||||
interface Dog
 | 
			
		||||
{
 | 
			
		||||
    // name: string;
 | 
			
		||||
    barks: true;
 | 
			
		||||
    wags: true;
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
type CatOrDog = Cat | Dog;
 | 
			
		||||
 | 
			
		||||
const animal: CatOrDog =
 | 
			
		||||
{
 | 
			
		||||
    name: "kaka",
 | 
			
		||||
    purrs: true,
 | 
			
		||||
    barks: true,
 | 
			
		||||
    wags: true,
 | 
			
		||||
};
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user