14 lines
179 B
TypeScript
14 lines
179 B
TypeScript
//// [objectTypeLiteralSyntax.ts]
|
|
var x: {
|
|
foo: string;
|
|
bar: string;
|
|
}
|
|
|
|
var y: {
|
|
foo: string;
|
|
bar: string
|
|
}
|
|
|
|
//// [objectTypeLiteralSyntax.js]
|
|
var x;
|
|
var y;
|