Skip to content

Commit

Permalink
Merge pull request #4 from mynamesleon/npm-types
Browse files Browse the repository at this point in the history
typescript defs added to dist for npm
  • Loading branch information
Leon Slater committed Jul 1, 2020
2 parents 7dce623 + 4eb12cf commit 409c00b
Show file tree
Hide file tree
Showing 5 changed files with 707 additions and 1,363 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Expand Up @@ -2,6 +2,12 @@

All notable changes to this project will be documented in this file.

## [1.2.1] - 2020-07-01

### Added

- TypeScript definitions added to dist folder for npm module

## [1.2.0] - 2020-01-29

### Added
Expand Down
8 changes: 8 additions & 0 deletions copy-types.js
@@ -0,0 +1,8 @@
const fs = require('fs');
const src = 'src/aria-tablist-types.d.ts';
const dest = 'dist/index.d.ts';

fs.copyFile(src, dest, (err) => {
if (err) throw err;
console.log(`${src} was copied to ${dest}`);
});

0 comments on commit 409c00b

Please sign in to comment.