mirror of
https://github.com/mozilla/pdf.js.git
synced 2025-04-19 14:48:08 +02:00
Rename *.d.ts to *.d.mts. Close #17241
Add a type test for legacy. - https://www.typescriptlang.org/docs/handbook/modules/reference.html#file-extension-substitution
This commit is contained in:
parent
1b88aad0db
commit
61ed77cfb4
10 changed files with 41 additions and 12 deletions
10
gulpfile.mjs
10
gulpfile.mjs
|
@ -1846,11 +1846,11 @@ gulp.task(
|
|||
return merge([
|
||||
packageJson().pipe(gulp.dest(TYPESTEST_DIR)),
|
||||
gulp
|
||||
.src([
|
||||
GENERIC_DIR + "build/pdf.mjs",
|
||||
GENERIC_DIR + "build/pdf.worker.mjs",
|
||||
])
|
||||
.pipe(gulp.dest(TYPESTEST_DIR + "build/")),
|
||||
.src("external/dist/**/*", {
|
||||
base: "external/dist",
|
||||
removeBOM: false,
|
||||
})
|
||||
.pipe(gulp.dest(TYPESTEST_DIR)),
|
||||
gulp
|
||||
.src(TYPES_DIR + "**/*", { base: TYPES_DIR })
|
||||
.pipe(gulp.dest(TYPESTEST_DIR + "types/")),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue