fix: packaging .d.ts files (#6327)

* fix: dts files not being properly included

* fix: hand crafted declaration files pointing to the wrong things
This commit is contained in:
Beka Westberg
2022-08-08 21:32:03 +00:00
committed by GitHub
parent f07b06b6d5
commit c8dd01ac87
3 changed files with 3 additions and 3 deletions

View File

@@ -389,7 +389,7 @@ function packageDTS() {
'typings/msg/msg.d.ts',
];
return gulp.src(handwrittenSrcs, {base: 'typings'})
.pipe(gulp.src(`${BUILD_DIR}/${TYPINGS_BUILD_DIR}/**/*.d.ts`))
.pipe(gulp.src(`${TYPINGS_BUILD_DIR}/**/*.d.ts`))
.pipe(gulp.replace('AnyDuringMigration', 'any'))
.pipe(gulp.dest(RELEASE_DIR));
};