//// [declFileOptionalInterfaceMethod.ts]
interface X {
f? <T>();
}
//// [declFileOptionalInterfaceMethod.js]
//// [declFileOptionalInterfaceMethod.d.ts]
f?<T>(): any;