14 lines
200 B
JavaScript
14 lines
200 B
JavaScript
//// [interfaceWithOptionalProperty.ts]
|
|
|
|
interface I {
|
|
x?: number;
|
|
}
|
|
|
|
//// [interfaceWithOptionalProperty.js]
|
|
|
|
|
|
//// [interfaceWithOptionalProperty.d.ts]
|
|
interface I {
|
|
x?: number;
|
|
}
|