TypeScript/tests/baselines/reference/interfaceOnly.js

15 lines
202 B
JavaScript
Raw Normal View History

2014-07-13 01:04:16 +02:00
//// [interfaceOnly.ts]
interface foo {
foo();
f2 (f: ()=> void);
}
//// [interfaceOnly.js]
//// [interfaceOnly.d.ts]
interface foo {
2014-07-12 01:36:06 +02:00
foo(): any;
f2(f: () => void): any;
}