Philip Lucks

Results 43 comments of Philip Lucks

> @abe-hashan , save as index.d.ts in the file that contains the component. > > // See: > // https://github.com/catamphetamine/react-phone-number-input/issues/195 > ``` This is for a different library

What does onDiscarded do? Is this when a key matches already and the request shouldn't revalidate?

same issue: ` "build:es2015": "NODE_ENV=production babel ./src --out-dir ./build --copy-files --no-copy-ignored", ` babel.config looks like: ``` ignore: [ 'node_modules', 'build', 'src/index.js', '**/__test__', '**/__tests__', '**/__mocks__', '**/__fixtures__', '**/__snapshots__', '**/devMode', ], ``` output...

I still think there's an issue with TS and this libraries `mapRef` Typing...i created: https://github.com/venits/react-native-map-clustering/issues/245 Here is what I have found to work: ``` interface ProviderProps { mapRef: MutableRefObject; }...

My project is a private repo for work. Does anything standout as obvious? Can we use a mix of `styled-component` with basic SCSS linting rules?

I updated initial post with some info to explain this is a monorepo

i'm at a new company now, so no longer have access to the codebase....OK to close it I guess?

OK! I have replicated this. I think this relates to having a combo of SCSS & Styled (*.css.js) JS files being linted at the same time when ` processor: "stylelint-processor-styled-components"`...

jest.mock is not a function still an error. https://codesandbox.io/s/misty-wave-ecvgf?file=/src/setupTests.js

I am seeing the same error. We have a library that uses `react-native-svg` as a dependency. It's already installed as part of it. When we develop locally, there are no...