Skip to content

Commit

Permalink
Looks like TS 3.4.4 resolved the testing issue.
Browse files Browse the repository at this point in the history
  • Loading branch information
tannerntannern committed Apr 21, 2019
1 parent 529b40f commit 471dbb5
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 164 deletions.
41 changes: 0 additions & 41 deletions dist/mixins.d.ts

This file was deleted.

117 changes: 0 additions & 117 deletions dist/mixins.js

This file was deleted.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
"rimraf": "^2.6.3",
"ts-node": "^8.1.0",
"typedoc": "^0.14.2",
"typescript": "^3.4.1",
"typescript": "^3.4.4",
"typescript-eslint-parser": "^22.0.0"
},
"homepage": "https://github.com/tannerntannern/ts-mixer#readme",
Expand Down
4 changes: 3 additions & 1 deletion src/mixins.ts
Original file line number Diff line number Diff line change
Expand Up @@ -165,6 +165,8 @@ function Mixin(...ingredients: Class[]) {
/**
* A decorator version of the `Mixin` function. You'll want to use this instead of `Mixin` for mixing generic classes.
*/
const mix = (...ingredients: Class[]) => baseClass => class Mixed extends Mixin(baseClass, ...ingredients) {};
const mix = (...ingredients: Class[]) =>
// @ts-ignore
baseClass => Mixin(baseClass, ...ingredients);

export {Mixin, mix};
8 changes: 4 additions & 4 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -3197,10 +3197,10 @@ typescript@3.2.x:
resolved "https://registry.yarnpkg.com/typescript/-/typescript-3.2.4.tgz#c585cb952912263d915b462726ce244ba510ef3d"
integrity sha512-0RNDbSdEokBeEAkgNbxJ+BLwSManFy9TeXz8uW+48j/xhEXv1ePME60olyzw2XzUqUBNAYFeJadIqAgNqIACwg==

typescript@^3.4.1:
version "3.4.3"
resolved "https://registry.yarnpkg.com/typescript/-/typescript-3.4.3.tgz#0eb320e4ace9b10eadf5bc6103286b0f8b7c224f"
integrity sha512-FFgHdPt4T/duxx6Ndf7hwgMZZjZpB+U0nMNGVCYPq0rEzWKjEDobm4J6yb3CS7naZ0yURFqdw9Gwc7UOh/P9oQ==
typescript@^3.4.4:
version "3.4.4"
resolved "https://registry.yarnpkg.com/typescript/-/typescript-3.4.4.tgz#aac4a08abecab8091a75f10842ffa0631818f785"
integrity sha512-xt5RsIRCEaf6+j9AyOBgvVuAec0i92rgCaS3S+UVf5Z/vF2Hvtsw08wtUTJqp4djwznoAgjSxeCcU4r+CcDBJA==

uglify-js@^3.1.4:
version "3.5.4"
Expand Down

0 comments on commit 471dbb5

Please sign in to comment.