Skip to content

Commit

Permalink
regenerate types
Browse files Browse the repository at this point in the history
  • Loading branch information
Rich-Harris committed Jun 12, 2024
1 parent 4cc8007 commit f3d2805
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion types/Chain.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ export default class Chain {
};
apply(options?: {}): SourceMap;
trace(oneBasedLineIndex: any, zeroBasedColumnIndex: any): any;
write(dest: any, options: any): Promise<any>;
write(dest: any, options: any): Promise<void[]>;
writeSync(dest: any, options: any): void;
}
import SourceMap from './SourceMap.js';
2 changes: 1 addition & 1 deletion types/Node.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ export default class Node {
tracingTime: number;
untraceable: number;
};
load(sourcesContentByPath: any, sourceMapByPath: any): any;
load(sourcesContentByPath: any, sourceMapByPath: any): Promise<any>;
loadSync(sourcesContentByPath: any, sourceMapByPath: any): void;
/**
* Traces a segment back to its origin
Expand Down
2 changes: 1 addition & 1 deletion types/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
export function load(file: string, options: {
content?: Record<string, string>;
sourcemaps?: Record<string, any>;
}): any;
}): Promise<Chain>;
/**
* @param {string} file
* @param {{
Expand Down

0 comments on commit f3d2805

Please sign in to comment.