Skip to content

Commit 95cf065

Browse files
committed
typings -> types
1 parent 1745019 commit 95cf065

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

javascript/just.config.cjs

+1-1
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ task('prepack-package-json', async () => {
5959
const packageJson = JSON.parse(packageJsonContents.toString('utf-8'));
6060

6161
recursiveReplace(packageJson, /(.\/src\/.*)\.ts/, '$1.js');
62-
packageJson.typings = packageJson.main.replace(/(.\/src\/.*)\.js/, '$1.d.ts');
62+
packageJson.types = packageJson.main.replace(/(.\/src\/.*)\.js/, '$1.d.ts');
6363
await writeFile(packageJsonPath, JSON.stringify(packageJson, null, 2));
6464
});
6565

0 commit comments

Comments
 (0)