Skip to content
This repository has been archived by the owner on May 5, 2023. It is now read-only.

Commit

Permalink
More strict "output" type
Browse files Browse the repository at this point in the history
  • Loading branch information
TooTallNate committed Dec 16, 2019
1 parent a5e163d commit 1fc0f45
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -143,8 +143,9 @@ function degenerator(
namespace degenerator {
export type DegeneratorName = string | RegExp;
export type DegeneratorNames = DegeneratorName[];
export type DegeneratorOutput = 'async' | 'generator';
export interface DegeneratorOptions {
output?: string;
output?: DegeneratorOutput;
}
export interface CompileOptions
extends DegeneratorOptions,
Expand Down

0 comments on commit 1fc0f45

Please sign in to comment.