15 lines
148 B
TypeScript
15 lines
148 B
TypeScript
// testing file
|
|
|
|
interface Point {
|
|
x: number;
|
|
y: number;
|
|
name: string;
|
|
}
|
|
|
|
const p: Point = {
|
|
x: 100,
|
|
y: 200,
|
|
name: "foo",
|
|
};
|
|
|
|
console.log(p);
|