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