Skip to content

Commit

Permalink
Make options of PluginContext#parse optional (#3750)
Browse files Browse the repository at this point in the history
  • Loading branch information
intrnl committed Aug 28, 2020
1 parent c6c939f commit ee3becc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/rollup/types.d.ts
Expand Up @@ -186,7 +186,7 @@ export interface PluginContext extends MinimalPluginContext {
isExternal: IsExternal;
/** @deprecated Use `this.getModuleIds` instead */
moduleIds: IterableIterator<string>;
parse: (input: string, options: any) => AcornNode;
parse: (input: string, options?: any) => AcornNode;
resolve: (
source: string,
importer?: string,
Expand Down

0 comments on commit ee3becc

Please sign in to comment.