Skip to content

Commit

Permalink
revert public type changes
Browse files Browse the repository at this point in the history
  • Loading branch information
christian-bromann committed Dec 4, 2023
1 parent 5b82372 commit f128837
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/declarations/stencil-public-compiler.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1562,7 +1562,7 @@ export interface CompilerSystemRemoveFileResults {

export interface CompilerSystemWriteFileResults {
path: string;
error: Error;
error: any;
}

export interface Credentials {
Expand Down
2 changes: 1 addition & 1 deletion src/sys/node/node-sys.ts
Original file line number Diff line number Diff line change
Expand Up @@ -622,7 +622,7 @@ export function createNodeSys(c: { process?: any; logger?: Logger } = {}): Compi
try {
fs.writeFileSync(p, content);
} catch (e) {
results.error = e as Error;
results.error = e;
}
return results;
},
Expand Down

0 comments on commit f128837

Please sign in to comment.