Skip to content

Commit

Permalink
fix(*): fix typings section in package.json (#95)
Browse files Browse the repository at this point in the history
  • Loading branch information
stepancar authored Nov 5, 2019
1 parent be42e19 commit cc5a78c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gulp/component-package.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ function getComponentPackage(file) {
|| fs.existsSync(path.join(dirname, 'index.ts'));
return JSON.stringify({
main: isIndexFileExist ? 'index.js' : `${componentName}.js`,
types: `${componentName}.d.ts`
types: isIndexFileExist ? 'index.d.ts' : `${componentName}.d.ts`
});
}

Expand Down

0 comments on commit cc5a78c

Please sign in to comment.