Simplify type gen
parent
3df69994c4
commit
a13708b995
|
@ -30,7 +30,7 @@ let build = await esbuild.context({
|
||||||
// Call the tsc command to generate the types
|
// Call the tsc command to generate the types
|
||||||
spawnSync(
|
spawnSync(
|
||||||
'tsc',
|
'tsc',
|
||||||
['--emitDeclarationOnly', '--outDir', path.resolve(__dirname, '../dist')],
|
['--emitDeclarationOnly', '--outFile', path.resolve(__dirname, '../dist/index.d.ts')],
|
||||||
{
|
{
|
||||||
stdio: 'inherit',
|
stdio: 'inherit',
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue