Skip to content

Commit

Permalink
fix: resolve type issues
Browse files Browse the repository at this point in the history
  • Loading branch information
ifiokjr committed Jan 31, 2021
1 parent 6d8bcfc commit 791119a
Show file tree
Hide file tree
Showing 70 changed files with 1,954 additions and 1,575 deletions.
1 change: 1 addition & 0 deletions .gitignore
Expand Up @@ -174,3 +174,4 @@ cc-reporter
**/storybook-static

/.detoxrc.json
/typedoc.json
23 changes: 0 additions & 23 deletions examples/with-react-native/__e2e__/main.e2e.ts

This file was deleted.

37 changes: 0 additions & 37 deletions examples/with-react-native/__e2e__/tsconfig.json

This file was deleted.

7 changes: 4 additions & 3 deletions examples/with-react-native/package.json
Expand Up @@ -2,6 +2,7 @@
"name": "with-react-native",
"version": "0.0.1",
"private": true,
"repository": "https://github.com/remirror/remirror/tree/HEAD/examples/with-react-native",
"scripts": {
"android": "react-native run-android",
"ios": "react-native run-ios",
Expand Down Expand Up @@ -43,11 +44,11 @@
"__e2e__": {
"compilerOptions": {
"types": [
"detox"
"detox",
"jest"
]
}
}
}
},
"repository": "https://github.com/remirror/remirror/tree/HEAD/examples/with-react-native"
}
}
1 change: 0 additions & 1 deletion examples/with-react-native/src/app.tsx
@@ -1,4 +1,3 @@
import React from 'react';
import { SafeAreaView, ScrollView, StatusBar, StyleSheet, Text, View } from 'react-native';
import {
Colors,
Expand Down
Empty file.
10 changes: 6 additions & 4 deletions package.json
Expand Up @@ -124,6 +124,7 @@
"@changesets/changelog-github": "^0.2.8",
"@changesets/cli": "^2.14.0",
"@jest/types": "^26.6.2",
"@kyleshevlin/eslint-plugin": "^1.1.0",
"@linaria/babel-preset": "^3.0.0-beta.1",
"@linaria/cli": "^3.0.0-beta.1",
"@linaria/shaker": "^3.0.0-beta.1",
Expand All @@ -132,7 +133,7 @@
"@lingui/react": "^3.4.0",
"@manypkg/cli": "^0.17.0",
"@preconstruct/cli": "^2.0.2",
"@size-limit/preset-big-lib": "^4.9.1",
"@size-limit/preset-big-lib": "^4.9.2",
"@testing-library/dom": "^7.29.4",
"@testing-library/jest-dom": "^5.11.9",
"@testing-library/react-hooks": "^5.0.3",
Expand All @@ -157,11 +158,11 @@
"case-anything": "^1.1.2",
"core-js": "^3.8.2",
"cpy-cli": "^3.1.1",
"delay": "^4.4.0",
"delay": "^4.4.1",
"detox": "^18.2.2",
"detox-cli": "^18.0.0",
"downlevel-dts": "^0.7.0",
"eslint": "^7.18.0",
"eslint": "^7.19.0",
"eslint-config-prettier": "^7.2.0",
"eslint-formatter-github": "^1.0.11",
"eslint-plugin-eslint-comments": "^3.2.0",
Expand Down Expand Up @@ -197,12 +198,13 @@
"ms.macro": "^2.0.0",
"npm-run-all": "^4.1.5",
"playwright": "^1.8.0",
"playwright-android": "^0.0.8",
"playwright-testing-library": "^2.7.0",
"prettier": "^2.2.1",
"prettier-plugin-packagejson": "^2.2.9",
"remirror": "1.0.0-next.60",
"rimraf": "^3.0.2",
"size-limit": "^4.9.1",
"size-limit": "^4.9.2",
"snapshot-diff": "^0.8.1",
"testing": "^0.0.4",
"typescript": "^4.1.3",
Expand Down

This file was deleted.

47 changes: 0 additions & 47 deletions packages/bundler.macro/__tests__/bundler.macro.spec.ts

This file was deleted.

2 changes: 1 addition & 1 deletion packages/bundler.macro/package.json
Expand Up @@ -44,7 +44,7 @@
"@types/parcel-bundler": "^1.12.3",
"babel-plugin-macros": "^3.0.1",
"make-synchronous": "^0.1.1",
"rollup": "^2.38.1"
"rollup": "^2.38.2"
},
"devDependencies": {
"@types/babel-plugin-tester": "^9.0.1",
Expand Down
1 change: 0 additions & 1 deletion packages/jest-remirror/src/jest-remirror-editor.ts
Expand Up @@ -264,7 +264,6 @@ export class RemirrorTestChain<Extension extends AnyExtension> {

private constructor(manager: RemirrorManager<Extension>) {
this.#manager = manager;

this.createDocBuilders();
this.setupCloneListener();
}
Expand Down
2 changes: 1 addition & 1 deletion packages/multishift/package.json
Expand Up @@ -37,7 +37,7 @@
"@seznam/compose-react-refs": "^1.0.5",
"a11y-status": "1.0.0-next.60",
"compute-scroll-into-view": "^1.0.14",
"react-use": "^15.3.8",
"react-use": "^17.0.1",
"tiny-warning": "^1.0.3",
"w3c-keyname": "^2.2.4"
},
Expand Down
2 changes: 1 addition & 1 deletion packages/multishift/src/multishift-hooks.ts
Expand Up @@ -81,7 +81,7 @@ export function useElementRefs(): UseElementRefs {
items.current = [];
ignored.current = [];

return { toggleButton, input, menu, comboBox, items, ignored };
return useRef({ toggleButton, input, menu, comboBox, items, ignored }).current;
}

/**
Expand Down

0 comments on commit 791119a

Please sign in to comment.