Johannes Skuterud

Results 7 comments of Johannes Skuterud

I don't have a solution for you, but I have the same/similar issue😅 I am also trying to use autocomplete, but specifically with [styled-components](https://www.styled-components.com/docs/basics#styling-any-component). Maybe the problem has a common...

If you for example use [Template Literal Types](https://www.typescriptlang.org/docs/handbook/2/template-literal-types.html), for instance; ``` type World = "world"; type Greeting = `hello ${World}`; ``` Compilation fails since it is a TS 4.1 feature.

I am having this issue as well.

I created a [PR](https://github.com/jaredpalmer/tsdx/pull/1148).

Forgive me, but I asked a new question on stack overflow related to this: https://stackoverflow.com/questions/73262134/why-are-personal-access-tokens-necessary-to-install-public-github-packages

Here is another example of how It could work. If the file below is built, ```tsx import React from 'react' import {prebuild} from 'esbuild' import {SomeComponent} from './SomeComponent' export const...

Is it possible to catch this error somehow? I tried: ``` try { ReactPDF.render(, '/dev/null'); } catch (error) { console.warn(error); } ``` But it does not seem to capture the...