diff --git a/gulpfile.js b/gulpfile.js index 35c59eb3c..c5d7c83ef 100644 --- a/gulpfile.js +++ b/gulpfile.js @@ -588,7 +588,7 @@ gulp.task('svg-to-react', gulp.series('clean-react', async function (cb) { }); fs.writeFileSync('icons-react/index.js', indexCode); - fs.writeFileSync('icons-react/index.d.js', indexDCode); + fs.writeFileSync('icons-react/index.d.ts', indexDCode); }); cb(); diff --git a/icons-react/index.d.js b/icons-react/index.d.ts similarity index 100% rename from icons-react/index.d.js rename to icons-react/index.d.ts