Skip to content

Commit 4db0793

Browse files
author
Vlad Balin
committed
Updated Type-R
1 parent ea7759d commit 4db0793

4 files changed

Lines changed: 28 additions & 28 deletions

File tree

lib/index.d.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@ interface ReactMVx {
1010
mixinRules: typeof mixinRules;
1111
Component: typeof Component;
1212
Link: typeof Link;
13-
Node: ChainableAttributeSpec;
14-
Element: ChainableAttributeSpec;
13+
Node: ChainableAttributeSpec<typeof Node>;
14+
Element: ChainableAttributeSpec<typeof Element>;
1515
assignToState(key: string): any;
1616
}
1717
declare const ReactMVx: ReactMVx & typeof React;

package.json

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
2-
"name": "react-mvx",
3-
"version": "2.0.10-a00",
2+
"name": "react-type-r",
3+
"version": "3.0.0-a000",
44
"repository": {
55
"type": "git",
66
"url": "https://github.com/gaperton/React-MVx.git"
@@ -36,8 +36,8 @@
3636
"license": "MIT",
3737
"peerDependencies": {
3838
"prop-types": "*",
39-
"react": "^16.0.0",
40-
"type-r": "^3.0.0-a00"
39+
"react": "*",
40+
"type-r": "^3.0.0"
4141
},
4242
"dependencies": {
4343
"tslib": "*",
@@ -50,11 +50,11 @@
5050
"highlight.js": "^9.12.0",
5151
"marked": "^0.3.19",
5252
"prop-types": "*",
53-
"react": "^16.0.0",
53+
"react": "*",
5454
"rollup": "^0.50.1",
5555
"rollup-plugin-node-resolve": "^3.3.0",
5656
"rollup-plugin-uglify": "^2.0.1",
57-
"type-r": "Volicon/Type-R.git#develop",
57+
"type-r": "Volicon/Type-R.git",
5858
"typescript": "*"
5959
}
6060
}

src/index.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,8 @@ interface ReactMVx {
1818

1919
// additional ReactMVx types
2020
Link : typeof Link
21-
Node : ChainableAttributeSpec
22-
Element : ChainableAttributeSpec
21+
Node : ChainableAttributeSpec<typeof Node>
22+
Element : ChainableAttributeSpec<typeof Element>
2323

2424
// Helper methods
2525
assignToState( key : string )

yarn.lock

Lines changed: 18 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -3,14 +3,14 @@
33

44

55
"@types/prop-types@*", "@types/prop-types@^15.5.2":
6-
version "15.5.6"
7-
resolved "https://registry.yarnpkg.com/@types/prop-types/-/prop-types-15.5.6.tgz#9c03d3fed70a8d517c191b7734da2879b50ca26c"
8-
integrity sha512-ZBFR7TROLVzCkswA3Fmqq+IIJt62/T7aY/Dmz+QkU7CaW2QFqAitCE8Ups7IzmGhcN1YWMBT4Qcoc07jU9hOJQ==
6+
version "15.5.8"
7+
resolved "https://registry.yarnpkg.com/@types/prop-types/-/prop-types-15.5.8.tgz#8ae4e0ea205fe95c3901a5a1df7f66495e3a56ce"
8+
integrity sha512-3AQoUxQcQtLHsK25wtTWIoIpgYjH3vSDroZOUr7PpCHw/jLY1RB9z9E8dBT/OSmwStVgkRNvdh+ZHNiomRieaw==
99

1010
"@types/react@^16.7.13":
11-
version "16.7.13"
12-
resolved "https://registry.yarnpkg.com/@types/react/-/react-16.7.13.tgz#d2369ae78377356d42fb54275d30218e84f2247a"
13-
integrity sha512-WhqrQLAE9z65hfcvWqZfR6qUtIazFRyb8LXqHo8440R53dAQqNkt2OlVJ3FXwqOwAXXg4nfYxt0qgBvE18o5XA==
11+
version "16.7.17"
12+
resolved "https://registry.yarnpkg.com/@types/react/-/react-16.7.17.tgz#3242e796a1ffbba4f49eae5915a67f4c079504e9"
13+
integrity sha512-YcXcaoXaxo7A76mBCGlKlN2aZu3REQfF0DTrhiyXVJLA7PDdxVCr+wiQOrkVNn44D/zLlIyDSn3U918Ve0AaEA==
1414
dependencies:
1515
"@types/prop-types" "*"
1616
csstype "^2.2.0"
@@ -133,7 +133,7 @@ optimist@^0.6.1:
133133
minimist "~0.0.1"
134134
wordwrap "~0.0.2"
135135

136-
path-parse@^1.0.5:
136+
path-parse@^1.0.6:
137137
version "1.0.6"
138138
resolved "https://registry.yarnpkg.com/path-parse/-/path-parse-1.0.6.tgz#d62dbb5679405d72c4737ec58600e9ddcf06d24c"
139139
integrity sha512-GSmOT2EbHrINBf9SR7CDELwlJ8AENk3Qn7OikK4nFYAu3Ote2+JYNVvkpAEQm3/TLNEJFD/xZJjzyxg3KBWOzw==
@@ -146,7 +146,7 @@ prop-types@*, prop-types@^15.6.2:
146146
loose-envify "^1.3.1"
147147
object-assign "^4.1.1"
148148

149-
react@^16.0.0:
149+
react@*:
150150
version "16.6.3"
151151
resolved "https://registry.yarnpkg.com/react/-/react-16.6.3.tgz#25d77c91911d6bbdd23db41e70fb094cc1e0871c"
152152
integrity sha512-zCvmH2vbEolgKxtqXL2wmGCUxUyNheYn/C+PD1YAjfxHC54+MhdruyhO7QieQrYsYeTxrn93PM2y0jRH1zEExw==
@@ -157,11 +157,11 @@ react@^16.0.0:
157157
scheduler "^0.11.2"
158158

159159
resolve@^1.1.6:
160-
version "1.8.1"
161-
resolved "https://registry.yarnpkg.com/resolve/-/resolve-1.8.1.tgz#82f1ec19a423ac1fbd080b0bab06ba36e84a7a26"
162-
integrity sha512-AicPrAC7Qu1JxPCZ9ZgCZlY35QgFnNqc+0LtbRNxnVw4TXvjQ72wnuL9JQcEBgXkI9JM8MsT9kaQoHcpCRJOYA==
160+
version "1.9.0"
161+
resolved "https://registry.yarnpkg.com/resolve/-/resolve-1.9.0.tgz#a14c6fdfa8f92a7df1d996cb7105fa744658ea06"
162+
integrity sha512-TZNye00tI67lwYvzxCxHGjwTNlUV70io54/Ed4j6PscB8xVfuBJpRenI/o6dVk0cY0PYTY27AgCoGGxRnYuItQ==
163163
dependencies:
164-
path-parse "^1.0.5"
164+
path-parse "^1.0.6"
165165

166166
rollup-plugin-node-resolve@^3.3.0:
167167
version "3.4.0"
@@ -207,17 +207,17 @@ tslib@*:
207207
resolved "https://registry.yarnpkg.com/tslib/-/tslib-1.9.3.tgz#d7e4dd79245d85428c4d7e4822a79917954ca286"
208208
integrity sha512-4krF8scpejhaOgqzBEcGM7yDIEfi0/8+8zDRZhNZZ2kjmHJ4hv3zCbQWxoJGz1iw5U0Jl0nma13xzHXcncMavQ==
209209

210-
type-r@Volicon/Type-R.git#develop:
211-
version "3.0.0-a07"
212-
resolved "https://codeload.github.com/Volicon/Type-R/tar.gz/6164ea6523386ffddf6c73334899ff059d8f9199"
210+
type-r@Volicon/Type-R.git:
211+
version "3.0.2"
212+
resolved "https://codeload.github.com/Volicon/Type-R/tar.gz/1406093a56f5e64a000626aedfff4b67846c39ed"
213213
dependencies:
214214
isomorphic-fetch "*"
215215
tslib "*"
216216

217217
typescript@*:
218-
version "3.2.1"
219-
resolved "https://registry.yarnpkg.com/typescript/-/typescript-3.2.1.tgz#0b7a04b8cf3868188de914d9568bd030f0c56192"
220-
integrity sha512-jw7P2z/h6aPT4AENXDGjcfHTu5CSqzsbZc6YlUIebTyBAq8XaKp78x7VcSh30xwSCcsu5irZkYZUSFP1MrAMbg==
218+
version "3.2.2"
219+
resolved "https://registry.yarnpkg.com/typescript/-/typescript-3.2.2.tgz#fe8101c46aa123f8353523ebdcf5730c2ae493e5"
220+
integrity sha512-VCj5UiSyHBjwfYacmDuc/NOk4QQixbE+Wn7MFJuS0nRuPQbof132Pw4u53dm264O8LPc2MVsc7RJNml5szurkg==
221221

222222
uglify-js@^3.0.9, uglify-js@^3.1.4:
223223
version "3.4.9"

0 commit comments

Comments
 (0)