Skip to content
On this page

GeneratorFunctionConstructor type

Type for generator functions.

Usage example:

typescript
const val_1: GeneratorFunctionConstructor = function* () {}

Released under the MIT License.