Skip to content

Commit

Permalink
Upgrade typescript
Browse files Browse the repository at this point in the history
  • Loading branch information
Thom van Kalkeren committed Jul 16, 2021
1 parent 1d94500 commit dcf861b
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 7 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@
"tslint-react": "^4.1.0",
"type-zoo": "^3.4.1",
"typedoc": "^0.15.0",
"typescript": "^3.8.3",
"typescript": "^4.3.5",
"whatwg-fetch": "^3.0.0",
"whatwg-url": "^7.0.0"
},
Expand Down
1 change: 0 additions & 1 deletion src/components/__tests__/Property.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,6 @@ describe("Property component", () => {
{
forceRender: true,
label: ex.ns("nonexistent"),
subject,
...opts.contextProps(),
...props,
},
Expand Down
2 changes: 1 addition & 1 deletion src/hocs/link/wrapWithConnect.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ const createConnectedComponent = <P>(
requestedProperties: number[],
opts: LinkOpts,
wrappedComponent: React.ComponentType<P>,
) => React.forwardRef((props: P & PropertyWrappedProps, ref: unknown) => {
) => React.forwardRef((props: P & PropertyWrappedProps, ref: React.Ref<unknown>) => {
const lrs = useLRS();
const context = useLinkRenderContext();
const childProps = useCalculateChildProps({ ...props, innerRef: ref}, context, { lrs: true });
Expand Down
8 changes: 4 additions & 4 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -7191,10 +7191,10 @@ typescript@3.7.x:
resolved "https://registry.yarnpkg.com/typescript/-/typescript-3.7.5.tgz#0692e21f65fd4108b9330238aac11dd2e177a1ae"
integrity sha512-/P5lkRXkWHNAbcJIiHPfRoKqyd7bsyCma1hZNUGfn20qm64T6ZBlrzprymeu918H+mB/0rIg2gGK/BXkhhYgBw==

typescript@^3.8.3:
version "3.8.3"
resolved "https://registry.yarnpkg.com/typescript/-/typescript-3.8.3.tgz#409eb8544ea0335711205869ec458ab109ee1061"
integrity sha512-MYlEfn5VrLNsgudQTVJeNaQFUAI7DkhnOjdpAp4T+ku1TfQClewlbSuTVHiA+8skNBgaf02TL/kLOvig4y3G8w==
typescript@^4.3.5:
version "4.3.5"
resolved "https://registry.yarnpkg.com/typescript/-/typescript-4.3.5.tgz#4d1c37cc16e893973c45a06886b7113234f119f4"
integrity sha512-DqQgihaQ9cUrskJo9kIyW/+g0Vxsk8cDtZ52a3NGh0YNTfpUSArXSohyUGnvbPazEPLu398C0UxmKSOrPumUzA==

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

0 comments on commit dcf861b

Please sign in to comment.