mirror of
https://github.com/cocos/cocos4.git
synced 2026-11-21 16:12:40 +08:00
d1174ee9a2
the base class introduced in the transition ts phase.
12 lines
138 B
TypeScript
12 lines
138 B
TypeScript
interface IBox {
|
|
x: number;
|
|
y: number;
|
|
}
|
|
|
|
interface IBox {
|
|
x: number;
|
|
z: string;
|
|
}
|
|
|
|
let sc: IBox = { x: 1, y: 1, z: '' };
|