mirror of
https://github.com/hanzoai/tsgo.git
synced 2026-10-30 19:37:15 +00:00
12 lines
313 B
TypeScript
12 lines
313 B
TypeScript
//// [tests/cases/conformance/es6/yieldExpressions/generatorOverloads2.ts] ////
|
|
|
|
//// [generatorOverloads2.ts]
|
|
declare namespace M {
|
|
function* f(s: string): Iterable<any>;
|
|
function* f(s: number): Iterable<any>;
|
|
function* f(s: any): Iterable<any>;
|
|
}
|
|
|
|
//// [generatorOverloads2.js]
|
|
"use strict";
|