Skip to content

Commit

Permalink
Fix ts
Browse files Browse the repository at this point in the history
  • Loading branch information
nicolo-ribaudo committed Jan 6, 2022
1 parent 2af31b4 commit 3788468
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
1 change: 1 addition & 0 deletions .gitignore
Expand Up @@ -26,6 +26,7 @@ package-lock.json
/packages/babel-compat-data/build

/packages/babel-core/src/vendor/*.js
/packages/babel-core/src/vendor/*.ts

/packages/babel-runtime/helpers/*.js
!/packages/babel-runtime/helpers/toArray.js
Expand Down
5 changes: 5 additions & 0 deletions Gulpfile.mjs
Expand Up @@ -565,6 +565,11 @@ gulp.task("build-vendor", async () => {
${fs.readFileSync(path.join(path.dirname(input), "license"), "utf8")}*/
`,
});

fs.writeFileSync(
output.replace(".js", ".d.ts"),
`export function resolve(specifier: stirng, parent: string): Promise<string>;`
);
});

gulp.task(
Expand Down

0 comments on commit 3788468

Please sign in to comment.