mirror of
https://github.com/hanzoai/tsgo.git
synced 2026-10-30 19:37:15 +00:00
17 lines
292 B
TypeScript
17 lines
292 B
TypeScript
//// [tests/cases/compiler/declFileOptionalInterfaceMethod.ts] ////
|
|
|
|
//// [declFileOptionalInterfaceMethod.ts]
|
|
interface X {
|
|
f? <T>();
|
|
}
|
|
|
|
|
|
//// [declFileOptionalInterfaceMethod.js]
|
|
"use strict";
|
|
|
|
|
|
//// [declFileOptionalInterfaceMethod.d.ts]
|
|
interface X {
|
|
f?<T>(): any;
|
|
}
|