14 lines
206 B
TypeScript
14 lines
206 B
TypeScript
//// [declFileOptionalInterfaceMethod.ts]
|
|
interface X {
|
|
f? <T>();
|
|
}
|
|
|
|
|
|
//// [declFileOptionalInterfaceMethod.js]
|
|
|
|
|
|
//// [declFileOptionalInterfaceMethod.d.ts]
|
|
interface X {
|
|
f?<T>(): any;
|
|
}
|