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